!#/usr/bin/ksh
echo '#####date'
date
echo "#####system name kernel info"
uname -a
echo "#####name and version OS"
head -n1 /etc/issue
#echo "#####Partitions registered"
#cat /proc/partitions
echo "#####MEMORY Info"
grep MemTotal /proc/meminfo
echo "#####CPU info"
grep "model name" /proc/cpuinfo
echo "#####filesystem mounts"
mount | column -t
echo "#####uptime"
uptime
echo "#####disk information"
hdparm -i /dev/sda
echo "#####file system capacity"
df -k
echo "ipconfig"
ifconfig
I love blogging about new technology appropriate for the enterprise. I want to change the face of innovation to embrace change, agility and promote an innovation culture.
Thursday, 7 May 2009
Basic linux script to document system
Subscribe to:
Post Comments (Atom)
-
Why am I still doing this. Fixing fat clients is not a lot of fun. Here is a couple of tips for connecting to the database using NTS and...
-
Ever wanted to know what that pesky OMW transfer error message code meant, here is the list of errors and what they mean in some meaningful...
-
CK : User Preference Cookies (what is saved in user preferences – Enable Hover Forms etc) GF : Grid Format (added when user adds a fri...
No comments:
Post a Comment