1) We often get the "linux newbie memory freakout" here. A new user may see "56M free" and panic -- rebooting obsessively when free gets low, plugging bizzare and harmful values into /proc/vm to "flush the cache", and sometimes even reformatting just to try and solve an imaginary memory leak. Any decently busy system converts 'free' to 'cache' in short order, which is fine -- cache is as good as free.
2) It'd be better to leave dmidecode out than demand random people run your untested script as root.
3) Run ifconfig with the full path, /sbin/ifconfig, so non-root users can find it.
4) Not everyone has java. Test if java exists before trying to get its version.
5) You can get disk information without root and fdisk, as well as tons of other stuff, via /sys:
Last edited by Corona688; 09-21-2011 at 04:47 PM..
On a couple of system I have to check that systems have the same configuration. This system are part of manual cluster but when application are going to switch from one side to another side I would like to be sure I am not going to experience incidents. It is why I wonder if on the web... (2 Replies)
We have >1000 UNIX boxes in our environment with various UNIX flavors like Solaris, HP-UX and Redhat Linux ES 3/4/5. We need to collect their system configuration like
- No. of CPUs and their frequencies
- RAM Size
- No. of HDDs installed and their usage
- Exact OS Version and its... (3 Replies)
Im trying to extract a bunch of systems configuration. I have created a file called data.txt and used the below scripts to run extraction of data.
Content of data.txt:
On the Linux terminal, I entered the following commands to execute my... (4 Replies)
Hi there, I have been asked to write a script that gathers enough information on our Sun Solaris machines to be able to rebuild and configure them if they should go pop.
My question is does anybody have any suggestions on the files that I need to take a copy of, to ensure that everything is... (4 Replies)
On my PC I have two hard disks, the first with Windows 98 SE and the second with Linux Mandrake 8.0 (Traktopel). When I have installed Linux, it has modified the boot record of the 1st HD and it has added a graphic menu (LILO) for selecting the OS to use. By default, if I don't press a key, Linux... (2 Replies)
How to know configuration information of the system.
(1) memory assigned for RAM - ?
(2) How much is the Hard disk -?
I used uname and du -k commands. But i couldn't get information about RAM.
which command gives this info (3 Replies)