From 3c02e210d002b84829ed12e8209796440f708792 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sat, 8 Feb 2020 18:08:31 +0100 Subject: [PATCH] pidstat: Add non regression tests First tests set for pidstat. Signed-off-by: Sebastien GODARD --- pidstat.c | 8 +-- tests/05000 | 3 + tests/05005 | 1 + tests/05010 | 3 + tests/05015 | 1 + tests/05020 | 3 + tests/05025 | 1 + tests/05030 | 3 + tests/05035 | 1 + tests/05040 | 3 + tests/05045 | 1 + tests/TLIST | 12 ++++ tests/expected.pidstat | 7 ++ tests/expected.pidstat-A | 39 +++++++++++ tests/expected.pidstat-A-ALL | 43 ++++++++++++ tests/expected.pidstat-At | 99 ++++++++++++++++++++++++++++ tests/expected.pidstat-At-ALL | 120 ++++++++++++++++++++++++++++++++++ 17 files changed, 344 insertions(+), 4 deletions(-) create mode 100644 tests/05000 create mode 100644 tests/05005 create mode 100644 tests/05010 create mode 100644 tests/05015 create mode 100644 tests/05020 create mode 100644 tests/05025 create mode 100644 tests/05030 create mode 100644 tests/05035 create mode 100644 tests/05040 create mode 100644 tests/05045 create mode 100644 tests/expected.pidstat create mode 100644 tests/expected.pidstat-A create mode 100644 tests/expected.pidstat-A-ALL create mode 100644 tests/expected.pidstat-At create mode 100644 tests/expected.pidstat-At-ALL diff --git a/pidstat.c b/pidstat.c index e62641c..c09732e 100644 --- a/pidstat.c +++ b/pidstat.c @@ -745,7 +745,7 @@ int read_proc_pid_fd(unsigned int pid, struct pid_stats *pst, sprintf(filename, PID_FD, pid); } - if ((dir = __opendir(filename)) == NULL) { + if ((dir = opendir(filename)) == NULL) { /* Cannot read fd directory */ pst->flags |= F_NO_PID_FD; return 0; @@ -754,13 +754,13 @@ int read_proc_pid_fd(unsigned int pid, struct pid_stats *pst, pst->fd_nr = 0; /* Count number of entries if fd directory */ - while ((drp = __readdir(dir)) != NULL) { + while ((drp = readdir(dir)) != NULL) { if (isdigit(drp->d_name[0])) { (pst->fd_nr)++; } } - __closedir(dir); + closedir(dir); pst->pid = pid; pst->tgid = tgid; @@ -1220,7 +1220,7 @@ int get_pid_to_display(int prev, int curr, int p, unsigned int activity, if (DISPLAY_STACK(activity) && (!isActive)) { - if (((*pstc)->stack_size != (*pstp)->stack_size) || + if (((*pstc)->stack_size != (*pstp)->stack_size) || ((*pstc)->stack_ref != (*pstp)->stack_ref)) { isActive = TRUE; } diff --git a/tests/05000 b/tests/05000 new file mode 100644 index 0000000..2e7e6c0 --- /dev/null +++ b/tests/05000 @@ -0,0 +1,3 @@ +rm -f tests/root +ln -s root1 tests/root +LC_ALL=C TZ=GMT ./pidstat > tests/out.pidstat.tmp diff --git a/tests/05005 b/tests/05005 new file mode 100644 index 0000000..c0798dc --- /dev/null +++ b/tests/05005 @@ -0,0 +1 @@ +diff -u tests/out.pidstat.tmp tests/expected.pidstat diff --git a/tests/05010 b/tests/05010 new file mode 100644 index 0000000..1c7bbb5 --- /dev/null +++ b/tests/05010 @@ -0,0 +1,3 @@ +rm -f tests/root +ln -s root1 tests/root +LC_ALL=C TZ=GMT ./pidstat -dRrsuvw > tests/out.pidstat-A.tmp diff --git a/tests/05015 b/tests/05015 new file mode 100644 index 0000000..0ccb333 --- /dev/null +++ b/tests/05015 @@ -0,0 +1 @@ +diff -u tests/out.pidstat-A.tmp tests/expected.pidstat-A diff --git a/tests/05020 b/tests/05020 new file mode 100644 index 0000000..33dc659 --- /dev/null +++ b/tests/05020 @@ -0,0 +1,3 @@ +rm -f tests/root +ln -s root1 tests/root +LC_ALL=C TZ=GMT ./pidstat -t -dRrsuvw > tests/out.pidstat-At.tmp diff --git a/tests/05025 b/tests/05025 new file mode 100644 index 0000000..3684572 --- /dev/null +++ b/tests/05025 @@ -0,0 +1 @@ +diff -u tests/out.pidstat-At.tmp tests/expected.pidstat-At diff --git a/tests/05030 b/tests/05030 new file mode 100644 index 0000000..a758e08 --- /dev/null +++ b/tests/05030 @@ -0,0 +1,3 @@ +rm -f tests/root +ln -s root1 tests/root +LC_ALL=C TZ=GMT ./pidstat -dRrsuvw -p ALL > tests/out.pidstat-A-ALL.tmp diff --git a/tests/05035 b/tests/05035 new file mode 100644 index 0000000..d9f6fac --- /dev/null +++ b/tests/05035 @@ -0,0 +1 @@ +diff -u tests/out.pidstat-A-ALL.tmp tests/expected.pidstat-A-ALL diff --git a/tests/05040 b/tests/05040 new file mode 100644 index 0000000..f125485 --- /dev/null +++ b/tests/05040 @@ -0,0 +1,3 @@ +rm -f tests/root +ln -s root1 tests/root +LC_ALL=C TZ=GMT ./pidstat -t -dRrsuvw -p ALL > tests/out.pidstat-At-ALL.tmp diff --git a/tests/05045 b/tests/05045 new file mode 100644 index 0000000..ae04da9 --- /dev/null +++ b/tests/05045 @@ -0,0 +1 @@ +diff -u tests/out.pidstat-At-ALL.tmp tests/expected.pidstat-At-ALL diff --git a/tests/TLIST b/tests/TLIST index e7b4935..aa3cc9c 100644 --- a/tests/TLIST +++ b/tests/TLIST @@ -496,5 +496,17 @@ NOTES: 04615 LC_ALL=C ./cifsiostat 2 0 2>&1 | grep "Usage:" >/dev/null 04620 LC_ALL=C ./cifsiostat 2 2 2 2>&1 | grep "Usage:" >/dev/null +===== pidstat: Basic tests +05000 LC_ALL=C TZ=GMT ./pidstat > tests/out.pidstat.tmp +05005 diff -u tests/out.pidstat.tmp tests/expected.pidstat +05010 LC_ALL=C TZ=GMT ./pidstat -dRrsuvw > tests/out.pidstat-A.tmp +05015 diff -u tests/out.pidstat-A.tmp tests/expected.pidstat-A +05020 LC_ALL=C TZ=GMT ./pidstat -t -dRrsuvw > tests/out.pidstat-At.tmp +05025 diff -u tests/out.pidstat-At.tmp tests/expected.pidstat-At +05030 LC_ALL=C TZ=GMT ./pidstat -dRrsuvw -p ALL > tests/out.pidstat-A-ALL.tmp +05035 diff -u tests/out.pidstat-A-ALL.tmp tests/expected.pidstat-A-ALL +05040 LC_ALL=C TZ=GMT ./pidstat -t -dRrsuvw -p ALL > tests/out.pidstat-At-ALL.tmp +05045 diff -u tests/out.pidstat-At-ALL.tmp tests/expected.pidstat-At-ALL + ===== Tests to be done at the very end 09900 grep -i FIXME *.c *.h *.in && exit 1 || exit 0 diff --git a/tests/expected.pidstat b/tests/expected.pidstat new file mode 100644 index 0000000..fb9cc17 --- /dev/null +++ b/tests/expected.pidstat @@ -0,0 +1,7 @@ +Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU) + +00:00:00 UID PID %usr %system %guest %wait %CPU CPU Command +00:00:00 1000 8407 0.12 0.01 0.00 0.00 0.13 1 gnome-terminal- +00:00:00 1000 8741 0.97 0.28 0.00 0.01 1.25 2 firefox +00:00:00 1000 9009 0.06 0.03 0.00 0.01 0.09 3 WebExtensions +00:00:00 1000 21342 0.12 0.01 0.00 0.00 0.13 5 soffice.bin diff --git a/tests/expected.pidstat-A b/tests/expected.pidstat-A new file mode 100644 index 0000000..5b55236 --- /dev/null +++ b/tests/expected.pidstat-A @@ -0,0 +1,39 @@ +Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU) + +00:00:00 UID PID %usr %system %guest %wait %CPU CPU Command +00:00:00 1000 8407 0.12 0.01 0.00 0.00 0.13 1 gnome-terminal- +00:00:00 1000 8741 0.97 0.28 0.00 0.01 1.25 2 firefox +00:00:00 1000 9009 0.06 0.03 0.00 0.01 0.09 3 WebExtensions +00:00:00 1000 21342 0.12 0.01 0.00 0.00 0.13 5 soffice.bin + +00:00:00 UID PID minflt/s majflt/s VSZ RSS %MEM Command +00:00:00 1000 8407 3.07 0.00 723868 42156 0.52 gnome-terminal- +00:00:00 1000 8741 108.05 0.07 2535728 335804 4.12 firefox +00:00:00 1000 9009 3.44 0.00 1744508 105628 1.30 WebExtensions +00:00:00 1000 21342 19.46 0.14 1790688 439484 5.40 soffice.bin + +00:00:00 UID PID StkSize StkRef Command +00:00:00 1000 8407 132 120 gnome-terminal- +00:00:00 1000 8741 132 52 firefox +00:00:00 1000 9009 132 20 WebExtensions +00:00:00 1000 21342 132 36 soffice.bin + +00:00:00 UID PID kB_rd/s kB_wr/s kB_ccwr/s iodelay Command +00:00:00 1000 8407 23.34 28.80 0.01 58 gnome-terminal- +00:00:00 1000 8741 28.50 31.74 4.81 1146 firefox +00:00:00 1000 9009 0.16 0.00 0.00 69 WebExtensions +00:00:00 1000 21342 24.47 4.65 0.00 874 soffice.bin + +00:00:00 UID PID cswch/s nvcswch/s Command +00:00:00 1000 8407 4.99 0.06 gnome-terminal- +00:00:00 1000 8741 22.79 0.28 firefox +00:00:00 1000 9009 3.36 0.06 WebExtensions +00:00:00 1000 21342 0.81 0.05 soffice.bin + +00:00:00 UID PID threads fd-nr Command +00:00:00 1000 8407 4 5 gnome-terminal- +00:00:00 1000 8741 67 5 firefox +00:00:00 1000 9009 32 5 WebExtensions +00:00:00 1000 21342 6 5 soffice.bin + +00:00:00 UID PID prio policy Command diff --git a/tests/expected.pidstat-A-ALL b/tests/expected.pidstat-A-ALL new file mode 100644 index 0000000..5cf3932 --- /dev/null +++ b/tests/expected.pidstat-A-ALL @@ -0,0 +1,43 @@ +Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU) + +00:00:00 UID PID %usr %system %guest %wait %CPU CPU Command +00:00:00 1000 8407 0.12 0.01 0.00 0.00 0.13 1 gnome-terminal- +00:00:00 1000 8741 0.97 0.28 0.00 0.01 1.25 2 firefox +00:00:00 1000 9009 0.06 0.03 0.00 0.01 0.09 3 WebExtensions +00:00:00 1000 21342 0.12 0.01 0.00 0.00 0.13 5 soffice.bin + +00:00:00 UID PID minflt/s majflt/s VSZ RSS %MEM Command +00:00:00 1000 8407 3.07 0.00 723868 42156 0.52 gnome-terminal- +00:00:00 1000 8741 108.05 0.07 2535728 335804 4.12 firefox +00:00:00 1000 9009 3.44 0.00 1744508 105628 1.30 WebExtensions +00:00:00 1000 21342 19.46 0.14 1790688 439484 5.40 soffice.bin + +00:00:00 UID PID StkSize StkRef Command +00:00:00 1000 8407 132 120 gnome-terminal- +00:00:00 1000 8741 132 52 firefox +00:00:00 1000 9009 132 20 WebExtensions +00:00:00 1000 21342 132 36 soffice.bin + +00:00:00 UID PID kB_rd/s kB_wr/s kB_ccwr/s iodelay Command +00:00:00 1000 8407 23.34 28.80 0.01 58 gnome-terminal- +00:00:00 1000 8741 28.50 31.74 4.81 1146 firefox +00:00:00 1000 9009 0.16 0.00 0.00 69 WebExtensions +00:00:00 1000 21342 24.47 4.65 0.00 874 soffice.bin + +00:00:00 UID PID cswch/s nvcswch/s Command +00:00:00 1000 8407 4.99 0.06 gnome-terminal- +00:00:00 1000 8741 22.79 0.28 firefox +00:00:00 1000 9009 3.36 0.06 WebExtensions +00:00:00 1000 21342 0.81 0.05 soffice.bin + +00:00:00 UID PID threads fd-nr Command +00:00:00 1000 8407 4 5 gnome-terminal- +00:00:00 1000 8741 67 5 firefox +00:00:00 1000 9009 32 5 WebExtensions +00:00:00 1000 21342 6 5 soffice.bin + +00:00:00 UID PID prio policy Command +00:00:00 1000 8407 0 NORMAL gnome-terminal- +00:00:00 1000 8741 0 NORMAL firefox +00:00:00 1000 9009 0 NORMAL WebExtensions +00:00:00 1000 21342 0 NORMAL soffice.bin diff --git a/tests/expected.pidstat-At b/tests/expected.pidstat-At new file mode 100644 index 0000000..d77a471 --- /dev/null +++ b/tests/expected.pidstat-At @@ -0,0 +1,99 @@ +Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU) + +00:00:00 UID TGID TID %usr %system %guest %wait %CPU CPU Command +00:00:00 1000 8407 - 0.12 0.01 0.00 0.00 0.13 1 gnome-terminal- +00:00:00 1000 - 8407 0.12 0.01 0.00 0.00 0.13 1 |__gnome-terminal- +00:00:00 1000 8741 - 0.97 0.28 0.00 0.01 1.25 2 firefox +00:00:00 1000 - 8741 0.40 0.08 0.00 0.01 0.48 2 |__firefox +00:00:00 1000 - 8785 0.00 0.00 0.00 0.00 0.00 3 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 0.00 0.00 0.00 2 |__Link Monitor +00:00:00 1000 - 8835 0.00 0.00 0.00 0.00 0.00 0 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.00 0.00 0.00 0.00 0.00 7 |__DOM Worker +00:00:00 1000 9009 - 0.06 0.03 0.00 0.01 0.09 3 WebExtensions +00:00:00 1000 - 9009 0.05 0.01 0.00 0.01 0.06 3 |__WebExtensions +00:00:00 1000 - 9029 0.01 0.02 0.00 0.00 0.03 2 |__Timer +00:00:00 1000 21342 - 0.12 0.01 0.00 0.00 0.13 5 soffice.bin +00:00:00 1000 - 21342 0.12 0.01 0.00 0.00 0.12 5 |__soffice.bin + +00:00:00 UID TGID TID minflt/s majflt/s VSZ RSS %MEM Command +00:00:00 1000 8407 - 3.07 0.00 723868 42156 0.52 gnome-terminal- +00:00:00 1000 - 8407 3.04 0.00 723868 42156 0.52 |__gnome-terminal- +00:00:00 1000 8741 - 108.05 0.07 2535728 335804 4.12 firefox +00:00:00 1000 - 8741 53.18 0.06 2535728 335804 4.12 |__firefox +00:00:00 1000 - 8785 0.93 0.00 2535728 335804 4.12 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 2535728 335804 4.12 |__Link Monitor +00:00:00 1000 - 8835 0.02 0.00 2535728 335804 4.12 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.37 0.00 2535728 335804 4.12 |__DOM Worker +00:00:00 1000 9009 - 3.44 0.00 1744508 105628 1.30 WebExtensions +00:00:00 1000 - 9009 2.67 0.00 1744508 105628 1.30 |__WebExtensions +00:00:00 1000 - 9029 0.00 0.00 1744508 105628 1.30 |__Timer +00:00:00 1000 21342 - 19.46 0.14 1790688 439484 5.40 soffice.bin +00:00:00 1000 - 21342 19.28 0.14 1790688 439484 5.40 |__soffice.bin +00:00:00 1000 - 21344 0.00 0.00 1790688 439484 5.40 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.00 0.00 1790688 439484 5.40 |__gdbus + +00:00:00 UID TGID TID StkSize StkRef Command +00:00:00 1000 8407 - 132 120 gnome-terminal- +00:00:00 1000 - 8407 132 120 |__gnome-terminal- +00:00:00 1000 8741 - 132 52 firefox +00:00:00 1000 - 8741 132 52 |__firefox +00:00:00 1000 - 8785 132 52 |__JS Helper +00:00:00 1000 - 8789 132 52 |__Link Monitor +00:00:00 1000 - 8835 132 52 |__ImgDecoder #1 +00:00:00 1000 - 9109 132 52 |__DOM Worker +00:00:00 1000 9009 - 132 20 WebExtensions +00:00:00 1000 - 9009 132 20 |__WebExtensions +00:00:00 1000 - 9029 132 20 |__Timer +00:00:00 1000 21342 - 132 36 soffice.bin +00:00:00 1000 - 21342 132 36 |__soffice.bin +00:00:00 1000 - 21344 132 36 |__rtl_cache_wsupd +00:00:00 1000 - 21350 132 36 |__gdbus + +00:00:00 UID TGID TID kB_rd/s kB_wr/s kB_ccwr/s iodelay Command +00:00:00 1000 8407 - 23.34 28.80 0.01 58 gnome-terminal- +00:00:00 1000 - 8407 0.27 0.00 0.00 58 |__gnome-terminal- +00:00:00 1000 8741 - 28.50 31.74 4.81 1146 firefox +00:00:00 1000 - 8741 10.58 0.04 0.00 1146 |__firefox +00:00:00 1000 - 8785 0.02 0.00 0.00 5 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 0.00 0 |__Link Monitor +00:00:00 1000 - 9109 0.02 0.05 0.00 8 |__DOM Worker +00:00:00 1000 9009 - 0.16 0.00 0.00 69 WebExtensions +00:00:00 1000 - 9009 0.13 0.00 0.00 69 |__WebExtensions +00:00:00 1000 21342 - 24.47 4.65 0.00 874 soffice.bin +00:00:00 1000 - 21342 24.45 0.04 0.00 874 |__soffice.bin + +00:00:00 UID TGID TID cswch/s nvcswch/s Command +00:00:00 1000 8407 - 4.99 0.06 gnome-terminal- +00:00:00 1000 - 8407 4.99 0.06 |__gnome-terminal- +00:00:00 1000 8741 - 22.79 0.28 firefox +00:00:00 1000 - 8741 22.79 0.28 |__firefox +00:00:00 1000 - 8785 0.12 0.00 |__JS Helper +00:00:00 1000 - 8789 0.03 0.00 |__Link Monitor +00:00:00 1000 - 8835 0.03 0.00 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.04 0.00 |__DOM Worker +00:00:00 1000 9009 - 3.36 0.06 WebExtensions +00:00:00 1000 - 9009 3.36 0.06 |__WebExtensions +00:00:00 1000 - 9029 6.75 0.01 |__Timer +00:00:00 1000 21342 - 0.81 0.05 soffice.bin +00:00:00 1000 - 21342 0.81 0.05 |__soffice.bin +00:00:00 1000 - 21344 0.03 0.00 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.01 0.00 |__gdbus + +00:00:00 UID TGID TID threads fd-nr Command +00:00:00 1000 8407 - 4 5 gnome-terminal- +00:00:00 1000 - 8407 4 5 |__gnome-terminal- +00:00:00 1000 8741 - 67 5 firefox +00:00:00 1000 - 8741 67 5 |__firefox +00:00:00 1000 - 8785 67 5 |__JS Helper +00:00:00 1000 - 8789 67 5 |__Link Monitor +00:00:00 1000 - 8835 67 5 |__ImgDecoder #1 +00:00:00 1000 - 9109 67 5 |__DOM Worker +00:00:00 1000 9009 - 32 5 WebExtensions +00:00:00 1000 - 9009 32 5 |__WebExtensions +00:00:00 1000 - 9029 32 5 |__Timer +00:00:00 1000 21342 - 6 5 soffice.bin +00:00:00 1000 - 21342 6 5 |__soffice.bin +00:00:00 1000 - 21344 6 5 |__rtl_cache_wsupd +00:00:00 1000 - 21350 6 5 |__gdbus + +00:00:00 UID TGID TID prio policy Command diff --git a/tests/expected.pidstat-At-ALL b/tests/expected.pidstat-At-ALL new file mode 100644 index 0000000..c1cffca --- /dev/null +++ b/tests/expected.pidstat-At-ALL @@ -0,0 +1,120 @@ +Linux 1.2.3-TEST (SYSSTAT.TEST) 01/01/70 _x86_64_ (8 CPU) + +00:00:00 UID TGID TID %usr %system %guest %wait %CPU CPU Command +00:00:00 1000 8407 - 0.12 0.01 0.00 0.00 0.13 1 gnome-terminal- +00:00:00 1000 - 8407 0.12 0.01 0.00 0.00 0.13 1 |__gnome-terminal- +00:00:00 1000 8741 - 0.97 0.28 0.00 0.01 1.25 2 firefox +00:00:00 1000 - 8741 0.40 0.08 0.00 0.01 0.48 2 |__firefox +00:00:00 1000 - 8785 0.00 0.00 0.00 0.00 0.00 3 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 0.00 0.00 0.00 2 |__Link Monitor +00:00:00 1000 - 8835 0.00 0.00 0.00 0.00 0.00 0 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.00 0.00 0.00 0.00 0.00 7 |__DOM Worker +00:00:00 1000 9009 - 0.06 0.03 0.00 0.01 0.09 3 WebExtensions +00:00:00 1000 - 9009 0.05 0.01 0.00 0.01 0.06 3 |__WebExtensions +00:00:00 1000 - 9029 0.01 0.02 0.00 0.00 0.03 2 |__Timer +00:00:00 1000 21342 - 0.12 0.01 0.00 0.00 0.13 5 soffice.bin +00:00:00 1000 - 21342 0.12 0.01 0.00 0.00 0.12 5 |__soffice.bin +00:00:00 1000 - 21344 0.00 0.00 0.00 0.00 0.00 5 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.00 0.00 0.00 0.00 0.00 4 |__gdbus + +00:00:00 UID TGID TID minflt/s majflt/s VSZ RSS %MEM Command +00:00:00 1000 8407 - 3.07 0.00 723868 42156 0.52 gnome-terminal- +00:00:00 1000 - 8407 3.04 0.00 723868 42156 0.52 |__gnome-terminal- +00:00:00 1000 8741 - 108.05 0.07 2535728 335804 4.12 firefox +00:00:00 1000 - 8741 53.18 0.06 2535728 335804 4.12 |__firefox +00:00:00 1000 - 8785 0.93 0.00 2535728 335804 4.12 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 2535728 335804 4.12 |__Link Monitor +00:00:00 1000 - 8835 0.02 0.00 2535728 335804 4.12 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.37 0.00 2535728 335804 4.12 |__DOM Worker +00:00:00 1000 9009 - 3.44 0.00 1744508 105628 1.30 WebExtensions +00:00:00 1000 - 9009 2.67 0.00 1744508 105628 1.30 |__WebExtensions +00:00:00 1000 - 9029 0.00 0.00 1744508 105628 1.30 |__Timer +00:00:00 1000 21342 - 19.46 0.14 1790688 439484 5.40 soffice.bin +00:00:00 1000 - 21342 19.28 0.14 1790688 439484 5.40 |__soffice.bin +00:00:00 1000 - 21344 0.00 0.00 1790688 439484 5.40 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.00 0.00 1790688 439484 5.40 |__gdbus + +00:00:00 UID TGID TID StkSize StkRef Command +00:00:00 1000 8407 - 132 120 gnome-terminal- +00:00:00 1000 - 8407 132 120 |__gnome-terminal- +00:00:00 1000 8741 - 132 52 firefox +00:00:00 1000 - 8741 132 52 |__firefox +00:00:00 1000 - 8785 132 52 |__JS Helper +00:00:00 1000 - 8789 132 52 |__Link Monitor +00:00:00 1000 - 8835 132 52 |__ImgDecoder #1 +00:00:00 1000 - 9109 132 52 |__DOM Worker +00:00:00 1000 9009 - 132 20 WebExtensions +00:00:00 1000 - 9009 132 20 |__WebExtensions +00:00:00 1000 - 9029 132 20 |__Timer +00:00:00 1000 21342 - 132 36 soffice.bin +00:00:00 1000 - 21342 132 36 |__soffice.bin +00:00:00 1000 - 21344 132 36 |__rtl_cache_wsupd +00:00:00 1000 - 21350 132 36 |__gdbus + +00:00:00 UID TGID TID kB_rd/s kB_wr/s kB_ccwr/s iodelay Command +00:00:00 1000 8407 - 23.34 28.80 0.01 58 gnome-terminal- +00:00:00 1000 - 8407 0.27 0.00 0.00 58 |__gnome-terminal- +00:00:00 1000 8741 - 28.50 31.74 4.81 1146 firefox +00:00:00 1000 - 8741 10.58 0.04 0.00 1146 |__firefox +00:00:00 1000 - 8785 0.02 0.00 0.00 5 |__JS Helper +00:00:00 1000 - 8789 0.00 0.00 0.00 0 |__Link Monitor +00:00:00 1000 - 8835 0.00 0.00 0.00 0 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.02 0.05 0.00 8 |__DOM Worker +00:00:00 1000 9009 - 0.16 0.00 0.00 69 WebExtensions +00:00:00 1000 - 9009 0.13 0.00 0.00 69 |__WebExtensions +00:00:00 1000 - 9029 0.00 0.00 0.00 0 |__Timer +00:00:00 1000 21342 - 24.47 4.65 0.00 874 soffice.bin +00:00:00 1000 - 21342 24.45 0.04 0.00 874 |__soffice.bin +00:00:00 1000 - 21344 0.00 0.00 0.00 0 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.00 0.00 0.00 0 |__gdbus + +00:00:00 UID TGID TID cswch/s nvcswch/s Command +00:00:00 1000 8407 - 4.99 0.06 gnome-terminal- +00:00:00 1000 - 8407 4.99 0.06 |__gnome-terminal- +00:00:00 1000 8741 - 22.79 0.28 firefox +00:00:00 1000 - 8741 22.79 0.28 |__firefox +00:00:00 1000 - 8785 0.12 0.00 |__JS Helper +00:00:00 1000 - 8789 0.03 0.00 |__Link Monitor +00:00:00 1000 - 8835 0.03 0.00 |__ImgDecoder #1 +00:00:00 1000 - 9109 0.04 0.00 |__DOM Worker +00:00:00 1000 9009 - 3.36 0.06 WebExtensions +00:00:00 1000 - 9009 3.36 0.06 |__WebExtensions +00:00:00 1000 - 9029 6.75 0.01 |__Timer +00:00:00 1000 21342 - 0.81 0.05 soffice.bin +00:00:00 1000 - 21342 0.81 0.05 |__soffice.bin +00:00:00 1000 - 21344 0.03 0.00 |__rtl_cache_wsupd +00:00:00 1000 - 21350 0.01 0.00 |__gdbus + +00:00:00 UID TGID TID threads fd-nr Command +00:00:00 1000 8407 - 4 5 gnome-terminal- +00:00:00 1000 - 8407 4 5 |__gnome-terminal- +00:00:00 1000 8741 - 67 5 firefox +00:00:00 1000 - 8741 67 5 |__firefox +00:00:00 1000 - 8785 67 5 |__JS Helper +00:00:00 1000 - 8789 67 5 |__Link Monitor +00:00:00 1000 - 8835 67 5 |__ImgDecoder #1 +00:00:00 1000 - 9109 67 5 |__DOM Worker +00:00:00 1000 9009 - 32 5 WebExtensions +00:00:00 1000 - 9009 32 5 |__WebExtensions +00:00:00 1000 - 9029 32 5 |__Timer +00:00:00 1000 21342 - 6 5 soffice.bin +00:00:00 1000 - 21342 6 5 |__soffice.bin +00:00:00 1000 - 21344 6 5 |__rtl_cache_wsupd +00:00:00 1000 - 21350 6 5 |__gdbus + +00:00:00 UID TGID TID prio policy Command +00:00:00 1000 8407 - 0 NORMAL gnome-terminal- +00:00:00 1000 - 8407 0 NORMAL |__gnome-terminal- +00:00:00 1000 8741 - 0 NORMAL firefox +00:00:00 1000 - 8741 0 NORMAL |__firefox +00:00:00 1000 - 8785 0 NORMAL |__JS Helper +00:00:00 1000 - 8789 0 NORMAL |__Link Monitor +00:00:00 1000 - 8835 0 NORMAL |__ImgDecoder #1 +00:00:00 1000 - 9109 0 NORMAL |__DOM Worker +00:00:00 1000 9009 - 0 NORMAL WebExtensions +00:00:00 1000 - 9009 0 NORMAL |__WebExtensions +00:00:00 1000 - 9029 0 NORMAL |__Timer +00:00:00 1000 21342 - 0 NORMAL soffice.bin +00:00:00 1000 - 21342 0 NORMAL |__soffice.bin +00:00:00 1000 - 21344 0 NORMAL |__rtl_cache_wsupd +00:00:00 1000 - 21350 0 NORMAL |__gdbus -- 2.40.0