Most of the time, users are having a Windows Machine on their desk or laptop. Normally, we want to perform a full scale data retrieval from our Linux servers in the DC, where we don’t have a trusted Linux server to manage it….the answer to it is use “PLINK” utility.
Plink comes together with the Putty…
A simple example of usage is:
C:\> plink USERNAME@SERVERNAME ‘YOUR-LINUX-COMMAND’
If you have a dozen of servers…then you probably want to write a batch script in Windows to loop through a list of servers and mention the list of commands juz like what i did…..
Here a typical windows batch script:
@echo off
for / f “tokens=*” %%A in (your-server-list.txt) ( C:\path\to\plink.exe user@server -w YOUR-PASSWORD -m linuxcommandscript > YOUR_OUTPUT_FILE.txt)
There you go, i did this for my sar report data collection for root cause analysis and infrastructure load analysis….keying in a password wif every darn login is impractical and yet you dont want to generate a security key for the servers.

OpenSSH 5.1 is out.
OpenSSH fully supports SSH protocol versions 1.3, 1.5 and 2.0. It also includes client and server support for sftp.
A few bug fixes, security fixes and new features come with the new 5.1 release. It’s already released to the mirrors so make sure to get patched. FTP mirrors || HTTP mirrors
Read the changelog
Continue Reading ->
Here’s a quick walk through to synchronize your system time through NTP.
Install the NTP package if you don’t already have it installed.
[root@abubu]# yum install ntp
Check your date.
[root@abubu]# date
Thu Jul 24 13:34:24 MYT 2008
Use the ntpdate command to poll from public NTP servers. I this example I’ll use ntp servers provided by the NTP POOL Project. The asia pool is “ntp asia.pool.ntp.org”

NTP POOL PROJECT
[root@abubu]# ntpdate asia.pool.ntp.org
24 Jul 16:02:18 ntpdate[5316]: step time server 202.144.207.222 offset -28647.175440 sec
Check your time again to make sure it’s correct.
[root@abubu]# date
Thu Jul 24 16:02:24 MYT 2008
I’ll cover the ntpd daemon in a future post.

Amarok 2.0 Alpha 2 (Aulanerk)
Heads up Amarok fans.
The Amarok team released Amarok 2.0 Alpha 2 today, codenamed “Aulanerk” after the friendly sea goddess.
If you don’t already know, Amarok is the most popular media player for Linux today. Amarok 2.0 is new and is set to replace it’s sibling Amarok 1.4 once KDE4 matures. The plan is to have Amarok 2.0 shipped with KDE 4.2 sometime in the future.
Read the changelog
Source: Amarok
Here’s an easy way to get the pid of a running process.
Running the “pidof” command will return the pid(s) for a running program. See sample below,
danny@pandora:~> pidof syslog-ng
2043
danny@pandora:~> pidof acpid
2045
danny@pandora:~> pidof /usr/bin/firefox
14408
danny@pandora:~> pidof /usr/bin/compiz
27164
danny@pandora:~> pidof /bin/bash
27011 17339 16792 16477 15151 14403
Simple right!?