Skip to contentSkip to conversation

why is the stderr of a command delayed after the stdout of the previously ran command ?

uml-devel Toralf Förster 1 participant 1 message Aug 7, 2014 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Well, probably not UML related, but I experiences this the very first time:
The following output happened in my console (hostname is n22, kernel is at 3.16) when I run a command via ssh at the 32 bit UML guest (hostname is trinity, kernel version is 3.16):

tfoerste@n22 ~ $ ssh tfoerste@trinity "ls ~/t3/core*; ps fx -eo pid,start_time,command | grep -e trinity -e sleep | grep -v grep"

 1283 17:46  |       \_ bash -c logger "1#-1, M="; cd ~; sudo su -c 'if [[ -d ./t3 ]]; then sudo chmod -R a+rwx ./t3; sudo rm -rf ./t3; fi'; mkdir ./t3; cd ./t3; MALLOC_CHECK_=2  trinity -C 4 -N 100000 -x mremap -q
 1290 17:46  |           \_ trinity -C 4 -N 100000 -x mremap -q
 1291 17:46  |               \_ trinity -C 4 -N 100000 -x mremap -q
 1292 17:46  |               \_ trinity -C 4 -N 100000 -x mremap -q
 1293 17:46  |                   \_ trinity -C 4 -N 100000 -x mremap -q
 1294 17:46  |                   \_ trinity -C 4 -N 100000 -x mremap -q
 1323 17:46  |                   \_ trinity -C 4 -N 100000 -x mremap -q
 1324 17:46  |                   \_ trinity -C 4 -N 100000 -x mremap -q

ls: cannot access /home/tfoerste/t3/core*: No such file or directory

I would expect, that the error message from ls comes before the ps output, or ?

Signature · 13 lines
Toralf


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel