dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


FirstLinux.net: Smart card: Obtaining System Information from sde

Aug 19, 2000, 23:46 (0 Talkback[s])

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


[ Thanks to Mark Gleave for this link. ]

"This Smart card runs through 5 command line utilities that are essential tools in displaying the current state of your system. You may be thinking about installing the StarOffice package on your machine. Do you have enough HD space? Will StarOffice consume too much RAM when running? Will it place an undue burden on the system? All these questions can be answered by running df, free, ps and top. We have also included the utility, w, in this Smart card because it's another way of finding out the load on your system, as well as displaying who is currently logged on the machine."

"df

displays the amount of disk space available on the filesystem. By default the space available on all the currently mounted filesystems are shown.

sde@sparky:~ > df 
Filesystem           1k-blocks      Used Available Use% Mounted on 
/dev/hda6              1886284   1363996    424920  76% / 
/dev/hda5                 3716      1134      2384  32% /boot 
In this example we can see that the filesystem /dev/hda6 has over 400MB of free space available. df is therefore useful for monitoring the free space available on each filesystem."

"As with any console utility there are many different command line options that can be applied. For more information, please consult either the man pages or the info files. For example, to learn more about the ps command, type info ps at the shell prompt."

Smart Card

Related Stories: