Re: how can I get the meminfo of each kernel process?

From: Giorgos Keramidas (keramida_at_freebsd.org)
Date: 05/30/05

  • Next message: Amandeep: "Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A"
    Date: Mon, 30 May 2005 15:10:47 +0300
    To: littlegege@263.net
    
    

    On 2005-05-30 11:26, littlegege@263.net wrote:
    > I want to get the meminfo of each kernel process,such as how much
    > memory size is allocated to a process.How can i do? I will do this
    > in kernel space,so which data structure can i used to achieve this.

    AFAIK, the kernel threads run in the same address space as the kernel.
    It doesn't make sense to ask for their "resident size", because they
    share the same address space that all the other kernel threads use.

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Amandeep: "Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A"

    Relevant Pages

    • SCHED_RR/SCHED_FIFO and kernel threads?
      ... SCHED_FIFO scheduling, kernel activity - in the form of kernel threads - ... and then the job tasks I wanted to "run" in other virtual terminals, ...
      (Linux-Kernel)
    • Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
      ... Isn't the distinction between a kernel thread and a user task pretty ... suspend) will cause additional problems. ... The "don't freeze kernel threads" thing is an attempt to make a crude ... carry out some I/O. ...
      (Linux-Kernel)
    • swsusp: Documentation update
      ... * If you change kernel command line between suspend and resume... ... +I found some kernel threads that don't do it, ... -* systems that initialize video card into vga text mode and where BIOS ...
      (Linux-Kernel)
    • Re: [PATCH] kthread: saa7134-tvaudio.c
      ... If you don't do this kernel threads ... locking resources in the kernel long past the time when they are ... more sense to the change kernel threads. ... could have a user space parent. ...
      (Linux-Kernel)
    • Re: Xterm Hangs - Possible scheduler defect?
      ... Why would it be wrong to preempt ... >design that doesn't allow the necessary kernel threads to run on any CPU? ...
      (Linux-Kernel)