=== Keybuk is now known as Guest30696 | ||
=== Keybuk_ is now known as Keybuk | ||
glick | excuse me im trying to go through each process in the system and write some information about them into a prof file using the seq_file interface | 03:51 |
---|---|---|
glick | but i have some questions about the seq_file interfeace | 03:51 |
glick | interface | 03:51 |
glick | firstly i wonder if i should use the seq_file interface or the simpler proc_fs interface | 03:52 |
glick | but im concerned about systems that may be running many many processes so that the file may excede one page | 03:52 |
glick | which method should i use? | 03:54 |
glick | the proc_fs method seems straightforward | 03:54 |
glick | but the seq_file method seems more robust | 03:54 |
glick | to write some data to a profile | 03:54 |
glick | proc file | 03:54 |
maco | if i need to get the kernel's source package so i can test cherry-picking a patch from upstream, which source package is that? "apt-get source linux" isn't it. | 04:06 |
glick | whts the size of a linux kernel page on a 32 bit machine? | 04:14 |
andersk | 4 KiB. | 04:14 |
glick | and whats the max number or processes on a linux machine? | 04:15 |
glick | running | 04:15 |
glick | 32 bits | 04:15 |
maco | nvm, i found it | 04:16 |
andersk | 32768, I think. | 04:16 |
glick | how can i use seq_file to iterate through a list | 04:26 |
glick | the seq_file interface | 04:26 |
glick | it seems like it only works on iterable items, | 04:26 |
glick | but processes are maintained in a linked list | 04:26 |
glick | so i cant really use position | 04:26 |
glick | hey, how can i temporarily lock the task list so that tasks can;t be added or removed? | 05:34 |
glick | hey how can i iterate through a process' open file descriptors? | 07:12 |
NCommander | glick, lsof | grep *process name* | 07:14 |
glick | NCommander, no i mean from a task_struct in a kernel module | 07:16 |
glick | excuse me | 08:05 |
glick | can someone t | 08:05 |
glick | hey i just did make mrproper in my kernel tree now when i try to build it it says debian/rules: No such file or directory | 08:28 |
Zhenech | mh, does Ubuntu still support Sparc64? | 11:24 |
=== asac_ is now known as asac | ||
=== thegodfather is now known as fabbione | ||
=== ivoks is now known as ivoks_ | ||
=== pericamali is now known as ivoks |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!