eveadm.test.naulinux77.20200128.log
eveadm.test.naulinux77.20200128.log
—
application log,
172 kB (176465 bytes)
File contents
./eveadm help
A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.
Usage:
eveadm [command]
Available Commands:
help Help about any command
rkt RKT mode
test Test mode
xen Xen mode
Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-h, --help help for eveadm
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
Use "eveadm [command] --help" for more information about a command.
========================================
./eveadm help test
Execute actions on 'test' mode. For example:
eveadm test list
Usage:
eveadm test [flags]
eveadm test [command]
Available Commands:
create Run shell command with arguments in 'create' action on 'test' mode
delete Run shell command with arguments in 'delete' action on 'test' mode
info Run shell command with arguments in 'info' action on 'test' mode
list Run shell command with arguments in 'list' action on 'test' mode
start Run shell command with arguments in 'start' action on 'test' mode
stop Run shell command with arguments in 'stop' action on 'test' mode
update Run shell command with arguments in 'update' action on 'test' mode
Flags:
-e, --env string Setting environment variables
-h, --help help for test
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
Use "eveadm test [command] --help" for more information about a command.
========================================
./eveadm test
test called
========================================
./eveadm help test create
Run shell command with arguments in 'create' action on 'test' mode. For example:
eveadm test create ps x
Usage:
eveadm test create [flags]
Flags:
-h, --help help for create
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test create
========================================
./eveadm test create ps x
========================================
./eveadm -v test create ps x
Timeout: 0s
test create called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:00 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:05 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:14 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:07 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
12677 ? S 0:00 [kworker/0:0]
12971 ? S 0:00 [kworker/0:1]
13064 ? S 0:00 [kworker/0:2]
13141 ? S 0:00 [kworker/0:3]
13201 ? S 0:00 sleep 60
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13309 pts/0 Rl+ 0:00 ./eveadm -v test create ps x
13313 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test create ls
Timeout: 0s
test create called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test create ls qwerty
Timeout: 0s
test create called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test create sleep 100
Timeout: 0s
test create called with envs:
Stdout:
Stderr:
real 1m40.005s
user 0m0.004s
sys 0m0.000s
========================================
time ./eveadm -v test create sleep 100 -t 1
Timeout: 1m0s
test create called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.007s
user 0m0.000s
sys 0m0.007s
========================================
./eveadm -v test create date
Timeout: 0s
test create called with envs:
Stdout:
Вт янв 28 02:00:18 MSK 2020
Stderr:
========================================
./eveadm -v test create date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test create called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:00:18 CST
Stderr:
./eveadm help test delete
Run shell command with arguments in 'delete' action on 'test' mode. For example:
eveadm test delete ps x
Usage:
eveadm test delete [flags]
Flags:
-h, --help help for delete
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test delete
========================================
./eveadm test delete ps x
========================================
./eveadm -v test delete ps x
Timeout: 0s
test delete called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:14 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:07 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
12677 ? S 0:00 [kworker/0:0]
12971 ? S 0:00 [kworker/0:1]
13064 ? S 0:00 [kworker/0:2]
13141 ? S 0:00 [kworker/0:3]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13358 ? S 0:00 sleep 60
13394 pts/0 Rl+ 0:00 ./eveadm -v test delete ps x
13398 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test delete ls
Timeout: 0s
test delete called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test delete ls qwerty
Timeout: 0s
test delete called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test delete sleep 100
Timeout: 0s
test delete called with envs:
Stdout:
Stderr:
real 1m40.006s
user 0m0.006s
sys 0m0.000s
========================================
time ./eveadm -v test delete sleep 100 -t 1
Timeout: 1m0s
test delete called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.005s
user 0m0.000s
sys 0m0.006s
========================================
./eveadm -v test delete date
Timeout: 0s
test delete called with envs:
Stdout:
Вт янв 28 02:02:58 MSK 2020
Stderr:
========================================
./eveadm -v test delete date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test delete called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:02:58 CST
Stderr:
./eveadm help test info
Run shell command with arguments in 'info' action on 'test' mode. For example:
eveadm test info ps x
Usage:
eveadm test info [flags]
Flags:
-h, --help help for info
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test info
========================================
./eveadm test info ps x
========================================
./eveadm -v test info ps x
Timeout: 0s
info called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:14 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13141 ? S 0:00 [kworker/0:3]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13422 ? S 0:00 /usr/sbin/CROND -n
13424 ? Ss 0:00 /bin/bash /bin/run-parts /etc/cron.hourly
13441 ? S 0:00 /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
13442 ? S 0:00 awk -v progname=/etc/cron.hourly/0yum-hourly.cron progname { ???? print progname ":\n" ???? progname=""; ??? } ??? { print; }
13457 ? S 0:00 [kworker/0:0]
13465 ? S 0:00 sleep 60
13489 pts/0 Rl+ 0:00 ./eveadm -v test info ps x
13493 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test info ls
Timeout: 0s
info called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test info ls qwerty
Timeout: 0s
info called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test info sleep 100
Timeout: 0s
info called with envs:
Stdout:
Stderr:
real 1m40.006s
user 0m0.004s
sys 0m0.000s
========================================
time ./eveadm -v test info sleep 100 -t 1
Timeout: 1m0s
info called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.005s
user 0m0.000s
sys 0m0.006s
========================================
./eveadm -v test info date
Timeout: 0s
info called with envs:
Stdout:
Вт янв 28 02:05:38 MSK 2020
Stderr:
========================================
./eveadm -v test info date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
info called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:05:38 CST
Stderr:
./eveadm help test list
Run shell command with arguments in 'list' action on 'test' mode. For example:
eveadm test list ps x
Usage:
eveadm test list [flags]
Flags:
-h, --help help for list
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test list
========================================
./eveadm test list ps x
========================================
./eveadm -v test list ps x
Timeout: 0s
test list called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? R 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13141 ? S 0:00 [kworker/0:3]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13422 ? S 0:00 /usr/sbin/CROND -n
13424 ? Ss 0:00 /bin/bash /bin/run-parts /etc/cron.hourly
13441 ? S 0:00 /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
13442 ? S 0:00 awk -v progname=/etc/cron.hourly/0yum-hourly.cron progname { ???? print progname ":\n" ???? progname=""; ??? } ??? { print; }
13457 ? S 0:00 [kworker/0:0]
13531 ? S 0:00 sleep 60
13555 pts/0 Rl+ 0:00 ./eveadm -v test list ps x
13559 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test list ls
Timeout: 0s
test list called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test list ls qwerty
Timeout: 0s
test list called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test list sleep 100
Timeout: 0s
test list called with envs:
Stdout:
Stderr:
real 1m40.007s
user 0m0.003s
sys 0m0.001s
========================================
time ./eveadm -v test list sleep 100 -t 1
Timeout: 1m0s
test list called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.006s
user 0m0.000s
sys 0m0.006s
========================================
./eveadm -v test list date
Timeout: 0s
test list called with envs:
Stdout:
Вт янв 28 02:08:19 MSK 2020
Stderr:
========================================
./eveadm -v test list date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test list called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:08:19 CST
Stderr:
./eveadm help test start
Run shell command with arguments in 'start' action on 'test' mode. For example:
eveadm test start ps x
Usage:
eveadm test start [flags]
Flags:
-h, --help help for start
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test start
========================================
./eveadm test start ps x
========================================
./eveadm -v test start ps x
Timeout: 0s
test start called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13457 ? S 0:00 [kworker/0:0]
13591 ? S 0:00 [kworker/0:1]
13605 ? S 0:00 sleep 60
13643 pts/0 Sl+ 0:00 ./eveadm -v test start ps x
13647 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test start ls
Timeout: 0s
test start called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test start ls qwerty
Timeout: 0s
test start called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test start sleep 100
Timeout: 0s
test start called with envs:
Stdout:
Stderr:
real 1m40.007s
user 0m0.003s
sys 0m0.002s
========================================
time ./eveadm -v test start sleep 100 -t 1
Timeout: 1m0s
test start called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.005s
user 0m0.005s
sys 0m0.001s
========================================
./eveadm -v test start date
Timeout: 0s
test start called with envs:
Stdout:
Вт янв 28 02:10:59 MSK 2020
Stderr:
========================================
./eveadm -v test start date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test start called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:10:59 CST
Stderr:
./eveadm help test stop
Run shell command with arguments in 'stop' action on 'test' mode. For example:
eveadm test stop ps x
Usage:
eveadm test stop [flags]
Flags:
-h, --help help for stop
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test stop
========================================
./eveadm test stop ps x
========================================
./eveadm -v test stop ps x
Timeout: 0s
test stop called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13457 ? S 0:00 [kworker/0:0]
13591 ? S 0:00 [kworker/0:1]
13702 ? S 0:00 sleep 60
13726 pts/0 Rl+ 0:00 ./eveadm -v test stop ps x
13730 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test stop ls
Timeout: 0s
test stop called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test stop ls qwerty
Timeout: 0s
test stop called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test stop sleep 100
Timeout: 0s
test stop called with envs:
Stdout:
Stderr:
real 1m40.007s
user 0m0.000s
sys 0m0.005s
========================================
time ./eveadm -v test stop sleep 100 -t 1
Timeout: 1m0s
test stop called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.006s
user 0m0.000s
sys 0m0.006s
========================================
./eveadm -v test stop date
Timeout: 0s
test stop called with envs:
Stdout:
Вт янв 28 02:13:39 MSK 2020
Stderr:
========================================
./eveadm -v test stop date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test stop called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:13:39 CST
Stderr:
./eveadm help test update
Run shell command with arguments in 'update' action on 'test' mode. For example:
eveadm test update ps x
Usage:
eveadm test update [flags]
Flags:
-h, --help help for update
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
-e, --env string Setting environment variables
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm test update
========================================
./eveadm test update ps x
========================================
./eveadm -v test update ps x
Timeout: 0s
test update called with envs:
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13457 ? S 0:00 [kworker/0:0]
13591 ? S 0:00 [kworker/0:1]
13746 ? S 0:00 [kworker/0:3]
13768 ? S 0:00 sleep 60
13792 pts/0 Rl+ 0:00 ./eveadm -v test update ps x
13796 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v test update ls
Timeout: 0s
test update called with envs:
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v test update ls qwerty
Timeout: 0s
test update called with envs:
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v test update sleep 100
Timeout: 0s
test update called with envs:
Stdout:
Stderr:
real 1m40.010s
user 0m0.000s
sys 0m0.005s
========================================
time ./eveadm -v test update sleep 100 -t 1
Timeout: 1m0s
test update called with envs:
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.010s
user 0m0.002s
sys 0m0.009s
========================================
./eveadm -v test update date
Timeout: 0s
test update called with envs:
Stdout:
Вт янв 28 02:16:19 MSK 2020
Stderr:
========================================
./eveadm -v test update date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test update called with envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
2020年 01月 28日 星期二 07:16:19 CST
Stderr:
./eveadm help xen
Execute actions on 'xen' mode. For example:
eveadm xen list
Usage:
eveadm xen [flags]
eveadm xen [command]
Available Commands:
create Run shell command with arguments in 'create' action on 'xen' mode
delete Run shell command with arguments in 'delete' action on 'xen' mode
info Run shell command with arguments in 'info' action on 'xen' mode
list Run shell command with arguments in 'list' action on 'xen' mode
start Run shell command with arguments in 'start' action on 'xen' mode
stop Run shell command with arguments in 'stop' action on 'xen' mode
update Run shell command with arguments in 'update' action on 'xen' mode
Flags:
-h, --help help for xen
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
Use "eveadm xen [command] --help" for more information about a command.
========================================
./eveadm xen
xen called
========================================
./eveadm help xen create
Run shell command with arguments in 'create' action on 'xen' mode. For example:
eveadm xen create ps x
Usage:
eveadm xen create [flags]
Flags:
-h, --help help for create
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen create
xen create called
========================================
./eveadm xen create ps x
xen create called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13457 ? S 0:00 [kworker/0:0]
13591 ? S 0:00 [kworker/0:1]
13746 ? S 0:00 [kworker/0:3]
13842 ? S 0:00 sleep 60
13869 pts/0 Sl+ 0:00 ./eveadm xen create ps x
13873 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen create ps x
Timeout: 0s
xen create called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13457 ? S 0:00 [kworker/0:0]
13591 ? S 0:00 [kworker/0:1]
13746 ? S 0:00 [kworker/0:3]
13842 ? S 0:00 sleep 60
13874 pts/0 Rl+ 0:00 ./eveadm -v xen create ps x
13878 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen create ls
Timeout: 0s
xen create called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen create ls qwerty
Timeout: 0s
xen create called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen create sleep 100
Timeout: 0s
xen create called
Stdout:
Stderr:
real 1m40.007s
user 0m0.005s
sys 0m0.001s
========================================
time ./eveadm -v xen create sleep 100 -t 1
Timeout: 1m0s
xen create called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.011s
user 0m0.004s
sys 0m0.009s
========================================
./eveadm help xen delete
Run shell command with arguments in 'delete' action on 'xen' mode. For example:
eveadm xen delete ps x
Usage:
eveadm xen delete [flags]
Flags:
-h, --help help for delete
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen delete
xen delete called
========================================
./eveadm xen delete ps x
xen delete called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? R 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
13925 ? S 0:00 sleep 60
13934 pts/0 Sl+ 0:00 ./eveadm xen delete ps x
13938 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen delete ps x
Timeout: 0s
xen delete called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
13925 ? S 0:00 sleep 60
13939 pts/0 Rl+ 0:00 ./eveadm -v xen delete ps x
13943 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen delete ls
Timeout: 0s
xen delete called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen delete ls qwerty
Timeout: 0s
xen delete called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen delete sleep 100
Timeout: 0s
xen delete called
Stdout:
Stderr:
real 1m40.007s
user 0m0.005s
sys 0m0.001s
========================================
time ./eveadm -v xen delete sleep 100 -t 1
Timeout: 1m0s
xen delete called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.017s
user 0m0.015s
sys 0m0.003s
========================================
./eveadm help xen info
Run shell command with arguments in 'info' action on 'xen' mode. For example:
eveadm xen info ps x
Usage:
eveadm xen info [flags]
Flags:
-h, --help help for info
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen info
info called
========================================
./eveadm xen info ps x
info called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
13990 ? S 0:00 sleep 60
13999 pts/0 Sl+ 0:00 ./eveadm xen info ps x
14003 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen info ps x
Timeout: 0s
info called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13064 ? S 0:00 [kworker/0:2]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
13990 ? S 0:00 sleep 60
14004 pts/0 Sl+ 0:00 ./eveadm -v xen info ps x
14008 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen info ls
Timeout: 0s
info called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen info ls qwerty
Timeout: 0s
info called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen info sleep 100
Timeout: 0s
info called
Stdout:
Stderr:
real 1m40.008s
user 0m0.000s
sys 0m0.005s
========================================
time ./eveadm -v xen info sleep 100 -t 1
Timeout: 1m0s
info called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.007s
user 0m0.003s
sys 0m0.004s
========================================
./eveadm help xen list
Run shell command with arguments in 'list' action on 'xen' mode. For example:
eveadm xen list ps x
Usage:
eveadm xen list [flags]
Flags:
-h, --help help for list
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen list
xen list called
========================================
./eveadm xen list ps x
xen list called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
14053 ? S 0:00 sleep 60
14063 pts/0 Sl+ 0:00 ./eveadm xen list ps x
14067 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen list ps x
Timeout: 0s
xen list called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? R 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
13903 ? S 0:00 [kworker/0:1]
14053 ? S 0:00 sleep 60
14068 pts/0 Rl+ 0:00 ./eveadm -v xen list ps x
14072 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen list ls
Timeout: 0s
xen list called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen list ls qwerty
Timeout: 0s
xen list called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen list sleep 100
Timeout: 0s
xen list called
Stdout:
Stderr:
real 1m40.008s
user 0m0.001s
sys 0m0.005s
========================================
time ./eveadm -v xen list sleep 100 -t 1
Timeout: 1m0s
xen list called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.011s
user 0m0.007s
sys 0m0.005s
========================================
./eveadm help xen start
Run shell command with arguments in 'start' action on 'xen' mode. For example:
eveadm xen start ps x
Usage:
eveadm xen start [flags]
Flags:
-h, --help help for start
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen start
xen start called
========================================
./eveadm xen start ps x
xen start called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14119 ? S 0:00 sleep 60
14128 pts/0 Sl+ 0:00 ./eveadm xen start ps x
14132 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen start ps x
Timeout: 0s
xen start called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? R 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14119 ? S 0:00 sleep 60
14133 pts/0 Sl+ 0:00 ./eveadm -v xen start ps x
14137 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen start ls
Timeout: 0s
xen start called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen start ls qwerty
Timeout: 0s
xen start called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen start sleep 100
Timeout: 0s
xen start called
Stdout:
Stderr:
real 1m40.008s
user 0m0.001s
sys 0m0.005s
========================================
time ./eveadm -v xen start sleep 100 -t 1
Timeout: 1m0s
xen start called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.012s
user 0m0.002s
sys 0m0.011s
========================================
./eveadm help xen stop
Run shell command with arguments in 'stop' action on 'xen' mode. For example:
eveadm xen stop ps x
Usage:
eveadm xen stop [flags]
Flags:
-h, --help help for stop
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen stop
xen stop called
========================================
./eveadm xen stop ps x
xen stop called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14161 ? S 0:00 [kworker/0:2]
14175 ? S 0:00 sleep 60
14184 pts/0 Rl+ 0:00 ./eveadm xen stop ps x
14188 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen stop ps x
Timeout: 0s
xen stop called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14161 ? S 0:00 [kworker/0:2]
14175 ? S 0:00 sleep 60
14189 pts/0 Sl+ 0:00 ./eveadm -v xen stop ps x
14193 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen stop ls
Timeout: 0s
xen stop called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen stop ls qwerty
Timeout: 0s
xen stop called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen stop sleep 100
Timeout: 0s
xen stop called
Stdout:
Stderr:
real 1m40.009s
user 0m0.000s
sys 0m0.008s
========================================
time ./eveadm -v xen stop sleep 100 -t 1
Timeout: 1m0s
xen stop called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.017s
user 0m0.000s
sys 0m0.016s
========================================
./eveadm help xen update
Run shell command with arguments in 'update' action on 'xen' mode. For example:
eveadm xen update ps x
Usage:
eveadm xen update [flags]
Flags:
-h, --help help for update
Global Flags:
--config string config file (default is $HOME/.eveadm.yaml)
--dir string RKT data dir
--insecure-options string RKT insecure-options (default "image")
--stage1-type string Type of stage1 (xen or general) (default "xen")
-t, --timeout string Actions timeout in minutes
-v, --verbose Verbose execution
========================================
./eveadm xen update
xen update called
========================================
./eveadm xen update ps x
xen update called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14161 ? S 0:00 [kworker/0:2]
14248 ? S 0:00 sleep 60
14257 pts/0 Sl+ 0:00 ./eveadm xen update ps x
14261 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen update ps x
Timeout: 0s
xen update called
Stdout:
PID TTY STAT TIME COMMAND
1 ? Ss 0:04 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
2 ? S 0:00 [kthreadd]
4 ? S< 0:00 [kworker/0:0H]
6 ? S 0:01 [ksoftirqd/0]
7 ? S 0:00 [migration/0]
8 ? S 0:00 [rcu_bh]
9 ? R 0:01 [rcu_sched]
10 ? S< 0:00 [lru-add-drain]
11 ? S 0:00 [watchdog/0]
13 ? S 0:00 [kdevtmpfs]
14 ? S< 0:00 [netns]
15 ? S 0:00 [khungtaskd]
16 ? S< 0:00 [writeback]
17 ? S< 0:00 [kintegrityd]
18 ? S< 0:00 [bioset]
19 ? S< 0:00 [bioset]
20 ? S< 0:00 [bioset]
21 ? S< 0:00 [kblockd]
22 ? S< 0:00 [md]
23 ? S< 0:00 [edac-poller]
24 ? S< 0:00 [watchdogd]
30 ? S 0:01 [kswapd0]
31 ? SN 0:00 [ksmd]
32 ? SN 0:00 [khugepaged]
33 ? S< 0:00 [crypto]
41 ? S< 0:00 [kthrotld]
43 ? S< 0:00 [kmpath_rdacd]
44 ? S< 0:00 [kaluad]
45 ? S< 0:00 [kpsmoused]
46 ? S< 0:00 [ipv6_addrconf]
60 ? S< 0:00 [deferwq]
95 ? S 0:00 [kauditd]
288 ? S< 0:00 [ata_sff]
297 ? S 0:00 [scsi_eh_0]
299 ? S< 0:00 [scsi_tmf_0]
300 ? S 0:00 [scsi_eh_1]
301 ? S< 0:00 [scsi_tmf_1]
302 ? S 0:00 [scsi_eh_2]
305 ? S< 0:00 [scsi_tmf_2]
306 ? S 0:00 [irq/18-vmwgfx]
308 ? S< 0:00 [ttm_swap]
326 ? S< 0:01 [kworker/0:1H]
386 ? S< 0:00 [kdmflush]
387 ? S< 0:00 [bioset]
397 ? S< 0:00 [kdmflush]
398 ? S< 0:00 [bioset]
410 ? S< 0:00 [bioset]
411 ? S< 0:00 [xfsalloc]
412 ? S< 0:00 [xfs_mru_cache]
413 ? S< 0:00 [xfs-buf/dm-0]
414 ? S< 0:00 [xfs-data/dm-0]
415 ? S< 0:00 [xfs-conv/dm-0]
416 ? S< 0:00 [xfs-cil/dm-0]
417 ? S< 0:00 [xfs-reclaim/dm-]
418 ? S< 0:00 [xfs-log/dm-0]
419 ? S< 0:00 [xfs-eofblocks/d]
420 ? S 0:06 [xfsaild/dm-0]
503 ? Ss 0:01 /usr/lib/systemd/systemd-journald
525 ? Ss 0:00 /usr/sbin/lvmetad -f
537 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
635 ? S< 0:00 [xfs-buf/sda1]
636 ? S< 0:00 [xfs-data/sda1]
637 ? S< 0:00 [xfs-conv/sda1]
638 ? S< 0:00 [xfs-cil/sda1]
639 ? S< 0:00 [xfs-reclaim/sda]
640 ? S< 0:00 [xfs-log/sda1]
641 ? S< 0:00 [xfs-eofblocks/s]
642 ? S 0:00 [xfsaild/sda1]
682 ? S< 0:00 [rpciod]
683 ? S< 0:00 [xprtiod]
685 ? S<sl 0:00 /sbin/auditd
687 ? S<sl 0:00 /sbin/audispd
689 ? S< 0:00 /usr/sbin/sedispatch
710 ? Ssl 0:00 /usr/libexec/udisks2/udisksd
711 ? Ss 0:00 /usr/sbin/abrtd -d -s
714 ? Ss 0:04 /sbin/rngd -f
716 ? Ss 0:00 /usr/lib/systemd/systemd-logind
722 ? Ss 0:00 /usr/sbin/smartd -n -q never
726 ? Ssl 0:00 /usr/sbin/gssproxy -D
739 ? Ssl 0:00 /usr/sbin/ModemManager
742 ? Ssl 0:00 /usr/libexec/accounts-daemon
745 ? Ss 0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
750 ? Ss 0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
763 ? SNs 0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
791 ? S 0:02 /bin/bash /usr/sbin/ksmtuned
809 ? Ssl 0:00 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
817 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon
972 ? S 0:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-4ae69ea2-9c9c-4948-ac7d-476fc4c510d4-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
1163 ? Ssl 0:15 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
1167 ? Ss 0:00 /usr/sbin/sshd -D
1168 ? Ss 0:00 /usr/sbin/cupsd -f
1169 ? Ssl 0:08 /usr/sbin/rsyslogd -n
1172 ? Ssl 0:00 /usr/sbin/libvirtd
1178 ? Ssl 0:00 /usr/sbin/gdm
1181 ? Ss 0:00 /usr/sbin/crond -n
1185 ? Ss 0:00 /usr/sbin/atd -f
1282 ? Ss 0:00 /usr/libexec/postfix/master -w
1452 tty1 Ssl+ 0:00 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-O9HOwQ/database -seat seat0 -nolisten tcp vt1
1532 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
1560 ? Sl 0:00 gdm-session-worker [pam/gdm-launch-environment]
1611 ? Ssl 0:00 /usr/libexec/upowerd
1677 ? Ssl 0:00 /usr/libexec/boltd
1681 ? Ssl 0:00 /usr/libexec/packagekitd
1692 ? Ss 0:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid
1982 ? Ss 0:00 login -- root
2000 tty2 Ss+ 0:00 -bash
2002 ? S 0:02 [kworker/u2:1]
2054 ? Ss 0:00 sshd: root@pts/0
2060 pts/0 Ss 0:00 -bash
3608 ? S 0:00 [kworker/u2:0]
13239 ? S 0:00 [kworker/0:4]
13282 pts/0 S+ 0:00 /bin/sh /tmp/eveadm.test.sh
13283 pts/0 S+ 0:00 tee /tmp/eveadm.test.naulinux77.20200128.log
13746 ? S 0:00 [kworker/0:3]
13902 ? S 0:00 [kworker/0:0]
14097 ? S 0:00 [kworker/0:1]
14161 ? S 0:00 [kworker/0:2]
14248 ? S 0:00 sleep 60
14262 pts/0 Rl+ 0:00 ./eveadm -v xen update ps x
14266 pts/0 R+ 0:00 ps x
28642 ? Ss 0:00 sshd: root@pts/1
28648 pts/1 Ss+ 0:00 -bash
Stderr:
========================================
./eveadm -v xen update ls
Timeout: 0s
xen update called
Stdout:
cmd
eveadm
eveadm.rkt.test.sh
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md
Stderr:
========================================
./eveadm -v xen update ls qwerty
Timeout: 0s
xen update called
Command error: exit status 2
Stdout:
Stderr:
ls: невозможно получить доступ к qwerty: Нет такого файла или каталога
========================================
time ./eveadm -v xen update sleep 100
Timeout: 0s
xen update called
Stdout:
Stderr:
real 1m40.007s
user 0m0.001s
sys 0m0.004s
========================================
time ./eveadm -v xen update sleep 100 -t 1
Timeout: 1m0s
xen update called
Command error: signal: killed
Command error: context deadline exceeded
Stdout:
Stderr:
real 1m0.011s
user 0m0.002s
sys 0m0.009s
========================================
