Manage your servers the easy way with perl script over ssh with no remote client.

2013-05-06 8 min read Linux Perl

For a long time I have not posted any script. So, its not that I have not written anything new, but just that did not put them here in lack of time. So, here is one interesting one. The original idea came from one posted in one of the interesting blog here. But the problem with this one was that for every time, it ran in the cron, it would make multiple entries in the “last” output (about 10 or more with my modifications for differentiating between solaris and Linux). This is something which is not quite desirable. Hence I came up with this script which is based on html template and hence the output is also easier to manipulate. BTW, just the below script will not help, you would need to download the template files as well. In the list.txt file, you will have to put the usename, password and the server IP to monitor. The server could be any Linux or Solaris host.

Continue reading

procinfo and procinfo-ng : Get system information from /proc.

2012-08-10 1 min read Fedora
The Fedora Project logo
The Fedora Project logo (Photo credit: Wikipedia)

Install procinfo or procinfo-ng. The procinfo contains three programs :

/usr/bin/lsdev
/usr/bin/procinfo
/usr/bin/socklist

and procinfo-ng contains ::

/usr/bin/procinfo-ng

The description for both of them is similar ::

Name        : procinfo-ng
Version     : 2.0.304
Release     : 5.fc17
Architecture: i686
Install Date: Tue 24 Jul 2012 05:45:10 PM IST
Group       : Applications/System
Size        : 140366
License     : GPLv2 and LGPLv2
Signature   : RSA/SHA256, Mon 12 Mar 2012 09:56:55 PM IST, Key ID 50e94c991aca3465
Source RPM  : procinfo-ng-2.0.304-5.fc17.src.rpm
Build Date  : Wed 29 Feb 2012 02:30:54 AM IST
Build Host  : x86-06.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://sourceforge.net/projects/procinfo-ng/
Summary     : Console-based system monitoring utility
Description :
Procinfo-NG is a complete rewrite of the old system monitoring application
procinfo.  The goal is to make more readable (and reusable) code and to
restore broken functionality.

Continue reading

How To Install Ailurus 10.05 On Fedora | HowtoForge - Linux Howtos and Tutorials

2010-07-23 1 min read Fedora Linux

For those of you who don’t know about ailurus:

Ailurus is cross-<a class="zem_slink" title="Linux distribution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux_distribution">Linux-distribution <a class="zem_slink" title="GNU General Public License" rel="wikipedia" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GPL <a class="zem_slink" title="Computer software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Computer_software">software, which aims at making Linux easier to use, for newcomers.

And the features include:

Ailurus can …

  • display Linux skills
  • install popular software
  • change <a class="zem_slink" title="GNOME" rel="homepage" href="http://www.gnome.org/">GNOME settings
  • display <a class="zem_slink" title="Hardware" rel="wikipedia" href="http://en.wikipedia.org/wiki/Hardware">hardware information
  • enable some third party repositories#
  • clean apt/yum cache#
  • backup and recover apt/yum status#

the features marked with &#8221;#&#8221; support Ubuntu/Fedora only

Continue reading

solang – Photo collection viewer.

2010-06-25 0 min read Fedora Photo
\"GNOME\"
Image via Wikipedia
Name       : solang
Arch       : i686
Size       : 1.8 M
Summary    : A Photo Manager for <a class="zem_slink freebase/en/gnome" title="GNOME" rel="homepage" href="http://www.gnome.org/">GNOME
URL        : https://savannah.nongnu.org/projects/solang/
License    : <a class="zem_slink freebase/en/gnu_general_public_license" title="GNU General Public License" rel="wikipedia" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GPLv3+
Description: Solang is a <a class="zem_slink freebase/en/free_content" title="Free content" rel="wikipedia" href="http://en.wikipedia.org/wiki/Free_content">free photo manager that will act as a front-end for
directory based local storage as well as remote photo-storage
systems, as can be said, on the &#8221;Cloud&#8221;. Basic editing support is
also planned as well as a small pipelaine for RAW processing.
The aim of this project is to break the performance charecteristics
of current popular photo management <a class="zem_slink freebase/en/computer_software" title="Computer software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Computer_software">softwares and provide a fast
and reliable alternative that does not place humongous demands on
user&#8217;s <a class="zem_slink freebase/en/hardware" title="Hardware" rel="wikipedia" href="http://en.wikipedia.org/wiki/Hardware">hardware resources even to meet basic functionality.<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://arstechnica.com/open-source/news/2010/04/ubuntu-1010-to-be-codenamed-maverick-meerkat.ars">Ubuntu 10.10 to be codenamed Maverick Meerkat (arstechnica.com) <li class="zemanta-article-ul-li"><a href="http://www.howtoforge.com/the-perfect-desktop-fedora-12-i686-gnome">The Perfect Desktop – Fedora 12 i686 (GNOME) (howtoforge.com) <li class="zemanta-article-ul-li"><a href="http://boycottnovell.com/2009/12/19/euphemism-for-lobbying/">Why GNOME Funding is Equivalent to Lobbying and Why Novell is Likely Against GPL Enforcement (boycottnovell.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/bb959a48-b5f0-4e5f-8997-6c86961e6eff/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b11.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">