I've noticed that when running screen
the process identified with it actually shows up in capitals.
Linux Debian Wheezy.
Here an example with me ssh'in into a machine, running screen -S test
and then running top
there.
me@host:~$ ps x
PID TTY STAT TIME COMMAND
4177 ? S 0:00 sshd: me@pts/0
4178 pts/0 Ss 0:00 -bash
4260 ? Ss 0:00 SCREEN -S test
4261 pts/1 Ss 0:00 /bin/bash
4813 pts/1 S+ 0:00 top
5891 pts/0 R+ 0:00 ps x
me@host:~$
Is there any reason for this capitalisation? I don't think I've seen any other programs in capitals like this.
Screen lives on the filesystem as a lower case binary:
me@host:~$ which screen
/usr/bin/screen
me@host:~$ l /usr/bin/screen
-rwxr-sr-x 1 root utmp 402K Sep 4 05:07 /usr/bin/screen
me@host:~$ file /usr/bin/screen
/usr/bin/screen: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x035fa489e79088829da70a87252e4da70fc4a6bf, stripped
me@host:~$
If this is accepted behaviour or perhaps a new trend I'm not aware of?
why is screen called "screen" and not "foobleblitz"?
There is no reason, it's an arbitrary choice.