Re: code cpustat.c

2006-06-30 Thread Tim Dijkstra
On Fri, 30 Jun 2006 16:41:05 +0300 (EEST) "Ozgur Karatas" <[EMAIL PROTECTED]> wrote: > Hello, > i want to help as much as i can. i dont know very much but i want to > help debian evolve and improve myself at the same time. i am coding > small applications for this purpose. they could help some. Y

Re: code cpustat.c

2006-06-30 Thread Cesare Tensi
Or uptime(1)CesareOn 6/30/06, Sebastian Harl <[EMAIL PROTECTED]> wrote: > ps and top command gives the ram state. i am doing this to see cpu's load> and usage.As far as I can see it, you're reading the exact same information as top(1)...

Re: code cpustat.c

2006-06-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ozgur Karatas wrote: > Re, > ps and top command gives the ram state. i am doing this to see cpu's load > and usage. > regards. But top(1) also does that, no? Or is the difference that it is a "running total", like ping? Still, this app is so small t

Re: code cpustat.c

2006-06-30 Thread Mark Brown
On Fri, Jun 30, 2006 at 04:18:58PM +0300, Ozgur Karatas wrote: > ps and top command gives the ram state. i am doing this to see cpu's load > and usage. top reports these. For example: | Tasks: 112 total, 2 running, 109 sleeping, 1 stopped, 0 zombie | Cpu(s): 0.0% us, 0.0% sy, 0.0% ni,

Re: code cpustat.c

2006-06-30 Thread Sebastian Harl
> ps and top command gives the ram state. i am doing this to see cpu's load > and usage. As far as I can see it, you're reading the exact same information as top(1)... -- Sebastian "tokkee" Harl GnuPG-ID: 0x8501C7FC http://tokkee.org/ signature.asc Description: Digital signature

Re: code cpustat.c

2006-06-30 Thread Ozgur Karatas
Hello, i want to help as much as i can. i dont know very much but i want to help debian evolve and improve myself at the same time. i am coding small applications for this purpose. they could help some. > On Fri, 30 Jun 2006 16:18:58 +0300 (EEST) > "Ozgur Karatas" <[EMAIL PROTECTED]> wrote: > >> R

Re: code cpustat.c

2006-06-30 Thread Tim Dijkstra
On Fri, 30 Jun 2006 16:18:58 +0300 (EEST) "Ozgur Karatas" <[EMAIL PROTECTED]> wrote: > Re, > ps and top command gives the ram state. i am doing this to see cpu's > load and usage. huh? My top shows (admittedly not on my desktop machine;) shows: 15:31:22 up 50 days, 2:41, 2 users, load ave

Re: code cpustat.c

2006-06-30 Thread Ozgur Karatas
Re, ps and top command gives the ram state. i am doing this to see cpu's load and usage. regards. > top(1) gives the exact same information. What's the advantage of your > program? > > Cheers, > Sebastian > > -- > Sebastian "tokkee" Harl > GnuPG-ID: 0x8501C7FC > http://tokkee.org/ ,''`. Ozgur

Re: code cpustat.c

2006-06-30 Thread Sebastian Harl
> This code is written to > take CPU loading statistics. cpustat; shows the usage load statistic of > your CPU. top(1) gives the exact same information. What's the advantage of your program? Cheers, Sebastian -- Sebastian "tokkee" Harl GnuPG-ID: 0x8501C7FC http://tokkee.org/ signature.asc De

code cpustat.c

2006-06-30 Thread Ozgur Karatas
Hello, I have written a program which gives CPU statistics, then what should i do for putting this program in to the debian? This code is written to take CPU loading statistics. cpustat; shows the usage load statistic of your CPU. I Code tested for Intel Processors. After then code will be ported f