I am running openSUSE 12.1 x86_64 and was looking at what was running
with htop and saw the process owned by root using the command “-:0”
without the quotation marks. Does anybody know what this is. I did a
quick search on Google but did not find what I was looking for.
I would guess the X server. It modifies its first argument to be of the form -host:displaynumber. When host is contacted via a Unix socket rather than TCP/IP, then host is blank, so you get -:0.
> On 11/27/2011 02:36 PM, nrickert wrote:
>>
>> % ps -lp 1626 ### this should show what is actually running
>
> VERY cool, thanks…
>
> but, tell me where that % comes from and what it means, please
>
> i can guess it is the opposite of # and maybe the same as or similar
> to $, but i have to wonder how i missed that fact…or is it something
> ‘new’?
>
Definitely not new - it’s the default prompt from the C-shell (csh).
Haven’t seen it in years - all my csh use went to tcsh (and thence to bash).
Sniff. Seeing ‘%’ prompts makes me nostalgic for ADM-3As and VT-100s.
On 11/27/2011 04:16 PM, George Baltz wrote:
> Definitely not new - it’s the default prompt from the C-shell (csh).
ah! thanks…
i read about such but being a wimpy noob, it was just reading–having
only had the pleasure of bash in my slow transition from OS/2 beginning
about 1997/8, or so.
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
On 11/27/2011 06:36 AM, nrickert wrote:
>
> Here’s what I am currently seeing:
>
> Code:
> --------------------
>
> % ps -ef | grep – “-:0”
> root 1626 1344 0 Nov26 ? 00:00:00 -:0
> rickert 10134 4920 0 07:28 pts/4 00:00:00 grep – -:0
>
> % ps -fp 1626
> UID PID PPID C STIME TTY TIME CMD
> root 1626 1344 0 Nov26 ? 00:00:00 -:0
>
> % ps -fp 1344 ### check parent process
> UID PID PPID C STIME TTY TIME CMD
> root 1344 1 0 Nov26 ? 00:00:00 /usr/bin/kdm
>
> % ps -lp 1626 ### this should show what is actually running
> F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
> 5 S 0 1626 1344 0 80 0 - 20847 rt_sig ? 00:00:00 kdm
>
> --------------------
>
>
> Similar commands might help you narrow down what is happening on your
> system.
>
>
Thank you, I have similar results as you do.
On 11/27/2011 06:36 AM, nrickert wrote:
>
> Here’s what I am currently seeing:
>
> Code:
> --------------------
>
> % ps -ef | grep – “-:0”
> root 1626 1344 0 Nov26 ? 00:00:00 -:0
> rickert 10134 4920 0 07:28 pts/4 00:00:00 grep – -:0
>
> % ps -fp 1626
> UID PID PPID C STIME TTY TIME CMD
> root 1626 1344 0 Nov26 ? 00:00:00 -:0
>
> % ps -fp 1344 ### check parent process
> UID PID PPID C STIME TTY TIME CMD
> root 1344 1 0 Nov26 ? 00:00:00 /usr/bin/kdm
>
> % ps -lp 1626 ### this should show what is actually running
> F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
> 5 S 0 1626 1344 0 80 0 - 20847 rt_sig ? 00:00:00 kdm
>
> --------------------
>
>
> Similar commands might help you narrow down what is happening on your
> system.
>
>
Thank you, I have similar results as you do.