No subject

Bharath H S bhslinker at gmail.com
Sun Dec 26 15:58:22 UTC 2010


I think there is now way of getting user info like name and other
stuff in kernel. The maximum obtainable is uid and pid for user and
process. Kernel does not care about other details. username, password,
etc is relevant to userspace only.
- Bharath H S




On Fri, Dec 24, 2010 at 8:54 PM, derleader __ <derleader at abv.bg> wrote:
>   Hi,
>      I'm developing C plugin for Ubuntu which will be installed as kernel
> module. The problem is how to collect the data about:
>
> CPU Check – Utilization, Model, Number of Cores
>
> RAM Check – Total Memory, Free Memory, Memory Load
>
> HDD Check – Number of physical HDDs, Number of logical partitions, Total
> space, Free space
>
> Running processes – Total number of processes
>
> Logs – system logs such as error logs
>
> System uptime
>
> Users logged in and last login – total list of users
>
> Total network connections
>
> Check hardware parts model and number
>
> The kernel module will check the status of the OS every 5 minutes. What is
> the most efficient way to collect these data?
>
> Regards
> Peter
>
>
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
>




More information about the kernel-team mailing list