System Information

Pete Nesbitt pete at linux1.ca
Fri Jun 25 23:47:12 UTC 2004


On June 25, 2004 04:19 pm, Robert Canary wrote:
> Since Mr. RHCE has nothing useful to say except
> some smarta-- remark .......
>
> You can look at your /proc directory to pull
> almost all your system info.
>
> Every process as well is listed their in a
> directory that is labled according to it Process ID.
>
> --
> robert
>
> Pete Nesbitt wrote:
> > On June 24, 2004 05:55 am, Gaurav Nigam wrote:
> >>Dear All,
> >>
> >>I am new to Linux and so can anybody suggest
> >>how I can extract System Information, like CPU Info, Mem info,
> >>programatically using Linux.
> >>
> >>Rgds,
> >>gaurav.
> >
> > You posted this under "System Information" as well as "hardware
> > information". Please post your question only once.
> > Thanks.


Well if you read the OP's other post you would have seen I already answered 
his question!

"Hi Greg,
You can get a lot of info by reading the files in /proc. There are also 
utilities that display info such (like 'free'), however, I expect they just 
access /proc.
Have a look at 'man proc'."

-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list