All of lore.kernel.org
 help / color / mirror / Atom feed
* Hai
@ 2001-07-06 12:12 Naveen Kumar Pagidimarri
  2001-07-06 12:31 ` Hai Julien Laganier
  0 siblings, 1 reply; 4+ messages in thread
From: Naveen Kumar Pagidimarri @ 2001-07-06 12:12 UTC (permalink / raw)
  To: linux-kernel

Hai All,

	  I am trying to display the detailes of freeram and ramfilled 

and number of current processes running thru a programme I don't want to 

use system calls and getting info from proc files.I want to display

these detailes by accessing from sysinfo.Is it possible.Otherwise 

suggest me where i can get related source. 

Thank u all in advance

Bye

Naveen



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hai
  2001-07-06 12:12 Hai Naveen Kumar Pagidimarri
@ 2001-07-06 12:31 ` Julien Laganier
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Laganier @ 2001-07-06 12:31 UTC (permalink / raw)
  To: Naveen Kumar Pagidimarri; +Cc: linux-kernel

Naveen Kumar Pagidimarri wrote:
> 
> Hai All,
> 
>           I am trying to display the detailes of freeram and ramfilled
> 
> and number of current processes running thru a programme I don't want to
> 
> use system calls and getting info from proc files.I want to display
> 
> these detailes by accessing from sysinfo.Is it possible.Otherwise
> 
> suggest me where i can get related source.
> 
> Thank u all in advance
> 
#include <linux/kernel.h>
#include <linux/sys.h>

struct sysinfo {
long uptime;
unsigned long loads[3];  //machin's load during last minute, last five
min, and last 15 min.
unsigned long totalram;
unsigned long freeram;
unsigned long sharedram;
unsigned long bufferram;
unsigned long totalswap;
unsigned long freeswap;    
unsigned short procs;      //number of process
char[22] _f;              //padding to reach 64 bytes length
}

int sysinfo(struct sysinfo *info);

To browse the source code of open systems is the key :-)

-- 
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
--

    Julien Laganier
     Student Intern
Sun Microsystem Laboratories

^ permalink raw reply	[flat|nested] 4+ messages in thread

* hai
@ 2012-10-17 21:03 kristian
  0 siblings, 0 replies; 4+ messages in thread
From: kristian @ 2012-10-17 21:03 UTC (permalink / raw)
  To: linux-arm-kernel


How are you ? ! 
I looked at your main picture on fb. I really like you a lot.  Let us talk !
I could send you my picture if you want

Sweet Kisses

^ permalink raw reply	[flat|nested] 4+ messages in thread

* hai
@ 2013-01-08  2:26 lavina
  0 siblings, 0 replies; 4+ messages in thread
From: lavina @ 2013-01-08  2:26 UTC (permalink / raw)
  To: linux-ext4

Good day ! 
I saw your personal pic on facebook. I quite like you a lot. 
Why don't we talk ! I could send you my pic if you want.

One Love
madalyn

















^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-08  2:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-06 12:12 Hai Naveen Kumar Pagidimarri
2001-07-06 12:31 ` Hai Julien Laganier
  -- strict thread matches above, loose matches on Subject: below --
2012-10-17 21:03 hai kristian
2013-01-08  2:26 hai lavina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.