Showing posts with label sysadmin. Show all posts
Showing posts with label sysadmin. Show all posts

Ingenuity of a System Administrator

"Back in the early 90's when I was in college and everyone had email accounts on shared unix servers that they'd log into, a sysadmin friend would oftentimes notice that the disk would be getting close to full. He'd start a process that would slowly fill up disk space, and wait as all the other logged in users would realize they could no longer save files - then they'd frantically start to delete files they no longer needed. After a while he'd cancel his process and the system would have a lot more space."
-- tunesmith, emphasis added.
Never underestimate the ingenuity of a system administrator. Funny yet brilliant trick to "motivate" users in the server to clean up their unused files there. I'm wondering will that work for the servers I'm handling right now? Is this trick going to backfire? The only concern is that you've to be extra careful when you fill up your server space intentionally. You may accidentally lock yourself out from remote login as I remember, SSH to a server do uses up a little bit of hard disc spaces.

Finding GNU/Linux Distro And Architecture

Dealing with quite a few new servers recently and we can't find the original hardware specification as quoted in the invoice. While we can google for the spec based on the hardware vendor and model, however certain parts of the machine may be upgraded or replaced. To be sure, always double-check the hardware spec. To do this, we need to answer two questions.

1) What is the GNU/Linux distro and architecture of the existing server?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

$ uname -a
Linux foobar 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

2) What is the hardware specification of the server?
console output
$ sudo lshw

GUI output
$ sudo apt-get install lshw-gtk
$ sudo lshw -X

OR
$sudo lshw-gtk

OR (if you are running Ubuntu or you boot the machine using Live CD)
System -> Preferences -> Hardware Lister