Hello!

Is there something like sysinfo for Linux. I know I can get every info

about the system without it but it would be nice to have it all in one place.

Thanks,

Grac

Hello!

Is there something like sysinfo for Linux. I know I can get every info

about the system without it but it would be nice to have it all in one place.

Thanks,

Grac

If you have the proc virtual file system enabled then some simple

shell scripts should do the job.

e.g cat /proc/cpuinfo will give you info about cpu as Linux knows it.

Cheers

ramki

1. sysinfo question: what is the sysinfo.loads[0] mean ?

heh... just spent a few days myself on this problem. the kernel can't use

any any floating point math, but the load average is not an integer, so

they use fixed point math on an unsigned long. took a bit of digging

through kernel source to figure out how to extract the number.. here's a

code snippet.

int whole, fract, tmp, i;

float loads[3];

for(i = 0 ; i >= 2 ; i++ ){

tmp = ((info->loads[i]>>5) + 10);

whole = tmp >> 11;

fract = (((tmp & 0x7FF) * 100) >> 11);

loads[i] = whole;

loads[i] += ((float)fract / 100);

}

--

Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available

paramount.res.wpi.net RedHat 5.1 kernel 2.1.106ac1 i586 | at public servers

"Note that if I can get you to "su and say" something just by asking,

you have a very serious security problem on your system and you should

look into it."

(By Paul Vixie, vixie-cron 3.0.1 installation notes)

4. Install - how do I get this "devil" to work?

5. How to use "sysinfo" linux system call?

6. kde 3.02 and codeweaver wine

7. How to translate Norton SysInfo to Linux

9. Qs re launching new Linux game.

10. Qs about Linux setup on Compaq 486 notebook

11. More Win95 --> Linux Newbie Qs

12. Beginner Linux help -- X and kernel Qs

13. DOS <-> Linux and other Qs

2 post • Page:**1** of **1**