?? processes.h
字號:
#include <glibtop/proclist.h>#include <glibtop/procstate.h>#include <glibtop/proctime.h>typedef struct _process process;struct _process{ process *next, *prev; int pid, utime; int diff; int touched; char cmd[40];};/** * utility functions */int update_process (process * task);int insert_process (process * root, int pid);int cleanup_touched (process * root);int clean_list (process * root);/** * create a list of processes */process *create_processlist ();/** * update the list of processes */int update_processlist (process * root);/** * find top processes * root - the first node of process list * max - list of pointers to be filled with pointers to top processes */int find_top_processes (process * root, process ** max, int number);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -