Just FYI - the Ubuntu repo is way outdated on this one - 0.14 vs 0.92. The syntax is also different:
$ fiu-run -x -e 'posix/io/*' curl google.com curl: (6) Couldn't resolve host 'google.com'
Thanks! Although you probably don't want io/* :)
$ fiu-run -x -e 'posix' ls | wc -l 37 $ fiu-run -x -e 'posix/*' ls | wc -l ls: cannot open directory .: Too many open files in system 0
$ fiu-run -x -e 'posix/*' -p 10 ls 1 10 2 3 4 5 6 7 8 9 $ fiu-run -x -e 'posix/*' -p 10 ls 1 10 2 3 4 5 6 7 8 9 $ fiu-run -x -e 'posix/*' -p 10 ls ls: reading directory .: Bad file descriptor 1 $ fiu-run -x -e 'posix/*' -p 10 ls ls: reading directory .: Bad file descriptor
$ sudo su $ killall sshd $ fiu-run -x -f "/tmp/sshctrl" $( which sshd ) $ ps aux | grep sshd root 5177 0.0 0.0 56272 1256 ? Ss 14:45 0:00 /usr/sbin/sshd
$ ssh root@localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. (...)
$ fiu-ctrl -e 'posix/*' /tmp/sshctrl-$(pgrep sshd) $ ssh root@localhost
Just FYI - the Ubuntu repo is way outdated on this one - 0.14 vs 0.92. The syntax is also different:
(instead of -c 'enable name=posix/io/*')