You are here: Home / Projects / EVE / eveadm / eveadm.test.log

eveadm.test.log

by Elena Korytko last modified Jan 26, 2020 03:50 PM
Лог выполнения скрипта https://github.com/itmo-eve/eveadm/blob/master/eveadm.test.sh на установке Ubuntu 18.04 от 26 января 2020 г.

application log icon eveadm.test.log — application log, 150 kB (154217 bytes)

File contents

./eveadm help
Timeout: 0s
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)
  -h, --help             help for eveadm
  -t, --timeout string   Actions timeout in minutes

Use "eveadm [command] --help" for more information about a command.
========================================
./eveadm help rkt
Timeout: 0s

Execute actions on 'rkt' mode. For example:

eveadm rkt list

Usage:
  eveadm rkt [flags]
  eveadm rkt [command]

Available Commands:
  create      Run shell command with arguments in 'create' action on 'rkt' mode
  delete      Run shell command with arguments in 'delete' action on 'rkt' mode
  info        Run shell command with arguments in 'info' action on 'rkt' mode
  list        Run shell command with arguments in 'list' action on 'rkt' mode
  start       Run shell command with arguments in 'start' action on 'rkt' mode
  stop        Run shell command with arguments in 'stop' action on 'rkt' mode
  update      Run shell command with arguments in 'update' action on 'rkt' mode

Flags:
  -h, --help   help for rkt

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes

Use "eveadm rkt [command] --help" for more information about a command.
========================================
./eveadm rkt
Timeout: 0s
rkt called
========================================
./eveadm help rkt create
Timeout: 0s

Run shell command with arguments in 'create' action on 'rkt' mode. For example:

eveadm rkt create ps x

Usage:
  eveadm rkt create [flags]

Flags:
  -h, --help   help for create

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt create
Timeout: 0s
rkt create called
========================================
./eveadm rkt create ps x
Timeout: 0s
rkt create called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10012 pts/3    Sl+    0:00 ./eveadm rkt create ps x
10017 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt create ls
Timeout: 0s
rkt create called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt create ls qwerty
Timeout: 0s
rkt create called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt create sleep 100
Timeout: 0s
rkt create called
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
time ./eveadm rkt create sleep 100 -t 1
Timeout: 1m0s
rkt create called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8524maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
./eveadm help rkt delete
Timeout: 0s

Run shell command with arguments in 'delete' action on 'rkt' mode. For example:

eveadm rkt delete ps x

Usage:
  eveadm rkt delete [flags]

Flags:
  -h, --help   help for delete

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt delete
Timeout: 0s
rkt delete called
========================================
./eveadm rkt delete ps x
Timeout: 0s
rkt delete called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10055 pts/3    Sl+    0:00 ./eveadm rkt delete ps x
10060 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt delete ls
Timeout: 0s
rkt delete called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt delete ls qwerty
Timeout: 0s
rkt delete called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt delete sleep 100
Timeout: 0s
rkt delete called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8560maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
time ./eveadm rkt delete sleep 100 -t 1
Timeout: 1m0s
rkt delete called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.01user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8512maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
./eveadm help rkt info
Timeout: 0s

Run shell command with arguments in 'info' action on 'rkt' mode. For example:

eveadm rkt info ps x

Usage:
  eveadm rkt info [flags]

Flags:
  -h, --help   help for info

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt info
Timeout: 0s
info called
========================================
./eveadm rkt info ps x
Timeout: 0s
info called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10333 pts/3    Sl+    0:00 ./eveadm rkt info ps x
10338 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt info ls
Timeout: 0s
info called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt info ls qwerty
Timeout: 0s
info called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt info sleep 100
Timeout: 0s
info called
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8452maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
time ./eveadm rkt info sleep 100 -t 1
Timeout: 1m0s
info called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8472maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
./eveadm help rkt list
Timeout: 0s

Run shell command with arguments in 'list' action on 'rkt' mode. For example:

eveadm rkt list ps x

Usage:
  eveadm rkt list [flags]

Flags:
  -h, --help   help for list

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt list
Timeout: 0s
rkt list called
========================================
./eveadm rkt list ps x
Timeout: 0s
rkt list called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10378 pts/3    Sl+    0:00 ./eveadm rkt list ps x
10383 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt list ls
Timeout: 0s
rkt list called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt list ls qwerty
Timeout: 0s
rkt list called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt list sleep 100
Timeout: 0s
rkt list called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8548maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
time ./eveadm rkt list sleep 100 -t 1
Timeout: 1m0s
rkt list called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.01system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8564maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
./eveadm help rkt start
Timeout: 0s
Run shell command with arguments in 'start' action on 'rkt' mode. For example:

eveadm rkt start ps x

Usage:
  eveadm rkt start [flags]

Flags:
  -h, --help   help for start

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt start
Timeout: 0s
rkt start called
========================================
./eveadm rkt start ps x
Timeout: 0s
rkt start called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10477 pts/3    Sl+    0:00 ./eveadm rkt start ps x
10482 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt start ls
Timeout: 0s
rkt start called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt start ls qwerty
Timeout: 0s
rkt start called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt start sleep 100
Timeout: 0s
rkt start called
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8540maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
time ./eveadm rkt start sleep 100 -t 1
Timeout: 1m0s
rkt start called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8560maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
./eveadm help rkt stop
Timeout: 0s
Run shell command with arguments in 'stop' action on 'rkt' mode. For example:

eveadm rkt stop ps x

Usage:
  eveadm rkt stop [flags]

Flags:
  -h, --help   help for stop

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt stop
Timeout: 0s
rkt stop called
========================================
./eveadm rkt stop ps x
Timeout: 0s
rkt stop called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10520 pts/3    Sl+    0:00 ./eveadm rkt stop ps x
10525 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt stop ls
Timeout: 0s
rkt stop called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt stop ls qwerty
Timeout: 0s
rkt stop called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt stop sleep 100
Timeout: 0s
rkt stop called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8556maxresident)k
0inputs+0outputs (0major+478minor)pagefaults 0swaps
========================================
time ./eveadm rkt stop sleep 100 -t 1
Timeout: 1m0s
rkt stop called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.01user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
./eveadm help rkt update
Timeout: 0s
Run shell command with arguments in 'update' action on 'rkt' mode. For example:

eveadm rkt update ps x

Usage:
  eveadm rkt update [flags]

Flags:
  -h, --help   help for update

Global Flags:
      --config string    config file (default is $HOME/.eveadm.yaml)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm rkt update
Timeout: 0s
rkt update called
========================================
./eveadm rkt update ps x
Timeout: 0s
rkt update called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:39 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10601 pts/3    Sl+    0:00 ./eveadm rkt update ps x
10606 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm rkt update ls
Timeout: 0s
rkt update called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm rkt update ls qwerty
Timeout: 0s
rkt update called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm rkt update sleep 100
Timeout: 0s
rkt update called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8456maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
time ./eveadm rkt update sleep 100 -t 1
Timeout: 1m0s
rkt update called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.00elapsed 0%CPU (0avgtext+0avgdata 8468maxresident)k
0inputs+0outputs (0major+478minor)pagefaults 0swaps
========================================
./eveadm help test
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes

Use "eveadm test [command] --help" for more information about a command.
========================================
./eveadm test
Timeout: 0s
test called
========================================
./eveadm help test create
Timeout: 0s

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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test create
Timeout: 0s
test create called envs: 
========================================
./eveadm test create ps x
Timeout: 0s
test create called envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10655 pts/3    Sl+    0:00 ./eveadm test create ps x
10660 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test create ls
Timeout: 0s
test create called envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test create ls qwerty
Timeout: 0s
test create called envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test create sleep 100
Timeout: 0s
test create called envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8580maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
time ./eveadm test create sleep 100 -t 1
Timeout: 1m0s
test create called envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8556maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
./eveadm test create date
Timeout: 0s
test create called envs: 
Stdout:
Вс янв 26 00:28:22 MSK 2020

Stderr:

========================================
./eveadm test create date --env LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Timeout: 0s
test create called envs: LANG=zh_CN.UTF-8 TZ=Asia/Shanghai
Stdout:
Sun Jan 26 05:28:22 CST 2020

Stderr:

./eveadm help test delete
Timeout: 0s

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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test delete
Timeout: 0s
test delete called with envs: 
========================================
./eveadm test delete ps x
Timeout: 0s
test delete called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10709 pts/3    Sl+    0:00 ./eveadm test delete ps x
10714 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test delete ls
Timeout: 0s
test delete called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test delete ls qwerty
Timeout: 0s
test delete called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test delete sleep 100
Timeout: 0s
test delete called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8512maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
time ./eveadm test delete sleep 100 -t 1
Timeout: 1m0s
test delete called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8468maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
./eveadm test delete date
Timeout: 0s
test delete called with envs: 
Stdout:
Вс янв 26 00:31:02 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:31:02 CST 2020

Stderr:

./eveadm help test info
Timeout: 0s

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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test info
Timeout: 0s
info called with envs: 
========================================
./eveadm test info ps x
Timeout: 0s
info called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10772 pts/3    Sl+    0:00 ./eveadm test info ps x
10777 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test info ls
Timeout: 0s
info called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test info ls qwerty
Timeout: 0s
info called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test info sleep 100
Timeout: 0s
info called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8464maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
time ./eveadm test info sleep 100 -t 1
Timeout: 1m0s
info called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.00elapsed 0%CPU (0avgtext+0avgdata 8584maxresident)k
0inputs+0outputs (0major+477minor)pagefaults 0swaps
========================================
./eveadm test info date
Timeout: 0s
info called with envs: 
Stdout:
Вс янв 26 00:33:42 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:33:42 CST 2020

Stderr:

./eveadm help test list
Timeout: 0s

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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test list
Timeout: 0s
test list called with envs: 
========================================
./eveadm test list ps x
Timeout: 0s
test list called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10829 pts/3    Sl+    0:00 ./eveadm test list ps x
10834 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test list ls
Timeout: 0s
test list called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test list ls qwerty
Timeout: 0s
test list called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test list sleep 100
Timeout: 0s
test list called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8452maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
time ./eveadm test list sleep 100 -t 1
Timeout: 1m0s
test list called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.01user 0.00system 1:00.02elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+471minor)pagefaults 0swaps
========================================
./eveadm test list date
Timeout: 0s
test list called with envs: 
Stdout:
Вс янв 26 00:36:22 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:36:22 CST 2020

Stderr:

./eveadm help test start
Timeout: 0s
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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test start
Timeout: 0s
test start called with envs: 
========================================
./eveadm test start ps x
Timeout: 0s
test start called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10883 pts/3    Sl+    0:00 ./eveadm test start ps x
10888 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test start ls
Timeout: 0s
test start called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test start ls qwerty
Timeout: 0s
test start called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test start sleep 100
Timeout: 0s
test start called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
time ./eveadm test start sleep 100 -t 1
Timeout: 1m0s
test start called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.01system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
./eveadm test start date
Timeout: 0s
test start called with envs: 
Stdout:
Вс янв 26 00:39:02 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:39:02 CST 2020

Stderr:

./eveadm help test stop
Timeout: 0s
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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test stop
Timeout: 0s
test stop called with envs: 
========================================
./eveadm test stop ps x
Timeout: 0s
test stop called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:07 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
10938 pts/3    Sl+    0:00 ./eveadm test stop ps x
10943 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test stop ls
Timeout: 0s
test stop called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test stop ls qwerty
Timeout: 0s
test stop called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test stop sleep 100
Timeout: 0s
test stop called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8532maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
time ./eveadm test stop sleep 100 -t 1
Timeout: 1m0s
test stop called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8568maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
./eveadm test stop date
Timeout: 0s
test stop called with envs: 
Stdout:
Вс янв 26 00:41:43 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:41:43 CST 2020

Stderr:

./eveadm help test update
Timeout: 0s
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)
  -e, --env string       Setting environment variables
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm test update
Timeout: 0s
test update called with envs: 
========================================
./eveadm test update ps x
Timeout: 0s
test update called with envs: 
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Dl+    0:40 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11131 pts/3    Sl+    0:00 ./eveadm test update ps x
11136 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm test update ls
Timeout: 0s
test update called with envs: 
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm test update ls qwerty
Timeout: 0s
test update called with envs: 
Command error:  exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm test update sleep 100
Timeout: 0s
test update called with envs: 
Stdout:

Stderr:

0.00user 0.00system 1:40.01elapsed 0%CPU (0avgtext+0avgdata 8464maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
time ./eveadm test update sleep 100 -t 1
Timeout: 1m0s
test update called with envs: 
Command error:  signal: killed
Command error:  context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8472maxresident)k
8inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
./eveadm test update date
Timeout: 0s
test update called with envs: 
Stdout:
Вс янв 26 00:44:23 MSK 2020

Stderr:

========================================
./eveadm 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:
Sun Jan 26 05:44:23 CST 2020

Stderr:

./eveadm help xen
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes

Use "eveadm xen [command] --help" for more information about a command.
========================================
./eveadm xen
Timeout: 0s
xen called
========================================
./eveadm help xen create
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen create
Timeout: 0s
xen create called
========================================
./eveadm xen create ps x
Timeout: 0s
xen create called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:42 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11497 pts/3    Sl+    0:00 ./eveadm xen create ps x
11502 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen create ls
Timeout: 0s
xen create called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen create ls qwerty
Timeout: 0s
xen create called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen create sleep 100
Timeout: 0s
xen create called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8452maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
time ./eveadm xen create sleep 100 -t 1
Timeout: 1m0s
xen create called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.01user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8596maxresident)k
0inputs+0outputs (0major+471minor)pagefaults 0swaps
========================================
./eveadm help xen delete
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen delete
Timeout: 0s
xen delete called
========================================
./eveadm xen delete ps x
Timeout: 0s
xen delete called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:42 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11540 pts/3    Sl+    0:00 ./eveadm xen delete ps x
11545 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen delete ls
Timeout: 0s
xen delete called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen delete ls qwerty
Timeout: 0s
xen delete called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen delete sleep 100
Timeout: 0s
xen delete called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8512maxresident)k
0inputs+0outputs (0major+477minor)pagefaults 0swaps
========================================
time ./eveadm xen delete sleep 100 -t 1
Timeout: 1m0s
xen delete called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.00elapsed 0%CPU (0avgtext+0avgdata 8512maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
./eveadm help xen info
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen info
Timeout: 0s
info called
========================================
./eveadm xen info ps x
Timeout: 0s
info called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:42 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11624 pts/3    Sl+    0:00 ./eveadm xen info ps x
11629 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen info ls
Timeout: 0s
info called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen info ls qwerty
Timeout: 0s
info called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen info sleep 100
Timeout: 0s
info called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8504maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
time ./eveadm xen info sleep 100 -t 1
Timeout: 1m0s
info called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
./eveadm help xen list
Timeout: 0s

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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen list
Timeout: 0s
xen list called
========================================
./eveadm xen list ps x
Timeout: 0s
xen list called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:42 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11667 pts/3    Sl+    0:00 ./eveadm xen list ps x
11672 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen list ls
Timeout: 0s
xen list called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen list ls qwerty
Timeout: 0s
xen list called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen list sleep 100
Timeout: 0s
xen list called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8452maxresident)k
0inputs+0outputs (0major+475minor)pagefaults 0swaps
========================================
time ./eveadm xen list sleep 100 -t 1
Timeout: 1m0s
xen list called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8472maxresident)k
0inputs+0outputs (0major+474minor)pagefaults 0swaps
========================================
./eveadm help xen start
Timeout: 0s
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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen start
Timeout: 0s
xen start called
========================================
./eveadm xen start ps x
Timeout: 0s
xen start called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:42 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11712 pts/3    Sl+    0:00 ./eveadm xen start ps x
11717 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen start ls
Timeout: 0s
xen start called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen start ls qwerty
Timeout: 0s
xen start called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen start sleep 100
Timeout: 0s
xen start called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8512maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
time ./eveadm xen start sleep 100 -t 1
Timeout: 1m0s
xen start called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8460maxresident)k
0inputs+0outputs (0major+473minor)pagefaults 0swaps
========================================
./eveadm help xen stop
Timeout: 0s
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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen stop
Timeout: 0s
xen stop called
========================================
./eveadm xen stop ps x
Timeout: 0s
xen stop called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:43 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11754 pts/3    Sl+    0:00 ./eveadm xen stop ps x
11759 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen stop ls
Timeout: 0s
xen stop called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen stop ls qwerty
Timeout: 0s
xen stop called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen stop sleep 100
Timeout: 0s
xen stop called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8464maxresident)k
0inputs+0outputs (0major+477minor)pagefaults 0swaps
========================================
time ./eveadm xen stop sleep 100 -t 1
Timeout: 1m0s
xen stop called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.00user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8568maxresident)k
0inputs+0outputs (0major+476minor)pagefaults 0swaps
========================================
./eveadm help xen update
Timeout: 0s
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)
  -t, --timeout string   Actions timeout in minutes
========================================
./eveadm xen update
Timeout: 0s
xen update called
========================================
./eveadm xen update ps x
Timeout: 0s
xen update called
Stdout:
  PID TTY      STAT   TIME COMMAND
 1951 ?        Ss     0:00 /lib/systemd/systemd --user
 1952 ?        S      0:00 (sd-pam)
 1965 ?        Sl     0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1975 tty2     Ssl+   0:00 /usr/lib/gdm3/gdm-x-session --run-script env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 1977 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
 2000 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 2004 tty2     Sl+    0:00 /usr/lib/gnome-session/gnome-session-binary --session=ubuntu
 2099 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
 2102 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 2107 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 2116 ?        Ssl    0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 2122 ?        S      0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
 2125 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
 2144 tty2     Sl+    0:43 /usr/bin/gnome-shell
 2153 ?        Sl     0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2162 tty2     Sl     0:00 ibus-daemon --xim --panel disable
 2164 ?        Ssl    0:00 /usr/libexec/xdg-permission-store
 2169 ?        Sl     0:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
 2188 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 2192 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 2199 tty2     Sl     0:00 /usr/lib/ibus/ibus-dconf
 2201 tty2     Sl     0:00 /usr/lib/ibus/ibus-x11 --kill-daemon
 2202 ?        Ssl    0:00 /usr/lib/evolution/evolution-source-registry
 2204 ?        Sl     0:00 /usr/lib/ibus/ibus-portal
 2215 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 2228 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 2241 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 2245 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-daemon
 2295 ?        Sl     0:00 /usr/lib/gnome-online-accounts/goa-identity-service
 2315 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-power
 2319 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-print-notifications
 2322 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-rfkill
 2323 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-screensaver-proxy
 2324 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sharing
 2327 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-smartcard
 2331 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-sound
 2332 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-xsettings
 2334 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-wacom
 2339 ?        Ss     0:00 /usr/bin/spice-vdagent
 2349 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-a11y-settings
 2350 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-clipboard
 2351 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-datetime
 2352 tty2     Sl+    0:01 /usr/lib/gnome-settings-daemon/gsd-housekeeping
 2355 tty2     Sl+    0:08 /usr/lib/gnome-settings-daemon/gsd-color
 2359 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-media-keys
 2362 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-mouse
 2363 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-keyboard
 2386 tty2     Sl+    0:00 /usr/lib/gnome-settings-daemon/gsd-printer
 2451 tty2     Sl+    0:01 nautilus-desktop
 2453 tty2     Sl+    0:00 /usr/lib/gnome-disk-utility/gsd-disk-utility-notify
 2478 ?        Ssl    0:00 /usr/lib/evolution/evolution-calendar-factory
 2495 tty2     Sl     0:00 /usr/lib/ibus/ibus-engine-simple
 2508 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
 2548 ?        Sl     0:00 /usr/lib/dconf/dconf-service
 2559 ?        Sl     0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2478x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2478/2
 2576 ?        Ssl    0:00 /usr/lib/evolution/evolution-addressbook-factory
 2586 ?        Sl     0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2576x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2576/2
 2604 ?        Ssl    0:00 /usr/lib/gnome-terminal/gnome-terminal-server
 2614 pts/1    Ss+    0:00 bash
 2751 tty2     Sl+    0:01 update-notifier
 2753 tty2     SLl+   0:09 /usr/bin/gnome-software --gapplication-service
 2953 tty2     Sl+    0:00 /usr/lib/deja-dup/deja-dup-monitor
 6469 ?        S      0:03 sshd: user@pts/2
 6470 pts/2    Ss     0:00 -bash
 8040 pts/2    S+     0:00 screen
 8041 ?        Ss     0:00 SCREEN
 8042 pts/3    Ss     0:00 /bin/bash
 8652 pts/4    Ss+    0:00 /bin/bash
 9985 pts/3    S+     0:00 /bin/sh ./eveadm.test.sh
 9986 pts/3    S+     0:00 tee /tmp/eveadm.test.log
11797 pts/3    Sl+    0:00 ./eveadm xen update ps x
11802 pts/3    R+     0:00 ps x
31015 tty2     SNl+   0:09 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map

Stderr:

========================================
./eveadm xen update ls
Timeout: 0s
xen update called
Stdout:
cmd
eveadm
eveadm.test.sh
go.mod
go.sum
LICENSE
main.go
Makefile
README.md

Stderr:

========================================
./eveadm xen update ls qwerty
Timeout: 0s
xen update called
Command error: exit status 2
Stdout:

Stderr:
ls: cannot access 'qwerty': No such file or directory

========================================
time ./eveadm xen update sleep 100
Timeout: 0s
xen update called
Stdout:

Stderr:

0.00user 0.00system 1:40.00elapsed 0%CPU (0avgtext+0avgdata 8504maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================
time ./eveadm xen update sleep 100 -t 1
Timeout: 1m0s
xen update called
Command error:  signal: killed
Command error: context deadline exceeded
Stdout:

Stderr:

0.01user 0.00system 1:00.01elapsed 0%CPU (0avgtext+0avgdata 8572maxresident)k
0inputs+0outputs (0major+472minor)pagefaults 0swaps
========================================