Skip to content

Instantly share code, notes, and snippets.

View topimiettinen's full-sized avatar

Topi Miettinen topimiettinen

View GitHub Profile
Script started on 2019-04-21 08:18:51+03:00 [TERM="linux" TTY="/dev/tty9" COLUMNS="240" LINES="67"]
\[\e[1m\]\h \A (testing)\[\e[m\] \w $ ps auxfw
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 08:09 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 08:09 0:00 \_ [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 08:09 0:00 \_ [rcu_par_gp]
root 5 0.0 0.0 0 0 ? I 08:09 0:00 \_ [kworker/0:0-cgroup_destroy]
root 6 0.0 0.0 0 0 ? I< 08:09 0:00 \_ [kworker/0:0H-kblockd]
root 8 0.0 0.0 0 0 ? I< 08:09 0:00 \_ [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S 08:09 0:00 \_ [ksoftirqd/0]
@topimiettinen
topimiettinen / script
Created April 17, 2019 21:23
typescript2
(gdb) bt full
#0 0x00007c29b21f1c0a in __GI_ppoll (fds=0x7ffea4b37020, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
resultvar = 18446744073709551102
sc_ret = <optimized out>
tval = {tv_sec = 57, tv_nsec = 468773269}
#1 0x00007c29b1f1bdee in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>, __fds=<optimized out>, __nfds=<optimized out>, __timeout=<optimized out>, __ss=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:71
No locals.
#2 bus_poll (bus=<optimized out>, need_more=need_more@entry=false, timeout_usec=timeout_usec@entry=18446744073709551615) at ../src/libsystemd/sd-bus/sd-bus.c:3056
p = {{fd = 32, events = 1, revents = 0}, {fd = 0, events = 0, revents = 0}}
@topimiettinen
topimiettinen / typescript.txt
Created April 14, 2019 08:52
shutdown problem with user manager
Script started on 2019-04-14 11:39:39+03:00 [TERM="linux" TTY="/dev/tty9" COLUMNS="240" LINES="67"]
\[\e[1m\]\h \A (testing)\[\e[m\] \w $ ps faxu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 11:35 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 11:35 0:00 \_ [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 11:35 0:00 \_ [rcu_par_gp]
root 5 0.0 0.0 0 0 ? I 11:35 0:00 \_ [kworker/0:0-cgroup_destroy]
root 6 0.0 0.0 0 0 ? I< 11:35 0:00 \_ [kworker/0:0H-kblockd]
root 7 0.0 0.0 0 0 ? I 11:35 0:00 \_ [kworker/u16:0-btrfs-endio-write]
root 8 0.0 0.0 0 0 ? I< 11:35 0:00 \_ [mm_percpu_wq]