Just got a terrible fright from htop - am I ok?

Does htop show processes from other users sharing the server on different linodes? I see 2 root@[name i dont recognise] and went "Eeeeeeeeeeeeek!"

Is it ok?

9 Replies

@tentimes:

Does htop show processes from other users sharing the server on different linodes? I see 2 root@[name i dont recognise] and went "Eeeeeeeeeeeeek!"

Is it ok?

Htop should not be aware of anything that goes on outside of your node…

What exactly is it that you do see?

@tentimes:

Does htop show processes from other users sharing the server on different linodes?
Nope, all you will see are things running on YOUR linode
> "Eeeeeeeeeeeeek!"
That might be the appropriate response.

command sshd: root@notty (virt 8484, whereas other virts are mostly 44672) and command sshd: root@pts/0

Neither are me and I have no idea what they are about.

I'm really confused as my linode is locked down with SSH keys only on a strange port.

The times are 4 and 14 seconds though and stay at that - they don't change.

What exactly does htop do that top doesnt?

I think it is me, I disconnected when I killed the processes. I had an SFTP and shell login. It's just odd that it gave these random names. Root@[totally random name I never heard of before that isn't anything to do with my IP]

@tentimes:

I think it is me, I disconnected when I killed the processes. I had an SFTP and shell login. It's just odd that it gave these random names. Root@[totally random name I never heard of before that isn't anything to do with my IP]

If you are talking about sshd processes in the process list it normally shows @. Nothing related to where the user is connecting from.

@tentimes:

command sshd: root@notty (virt 8484, whereas other virts are mostly 44672) and command sshd: root@pts/0

That's probably you. tty, pts, etc. just refer to the type of console you're using. You were logged in as root, right?

If still in doubt, create a new user with some random name, and SSH into your server with that user. Run htop and you'll probably see something like [random-username]@pts/0. That's you.

@tentimes:

command sshd: root@notty (virt 8484, whereas other virts are mostly 44672) and command sshd: root@pts/0

Neither are me and I have no idea what they are about.

For "root@notty" read "root @ no TTY". It's your SCP or SFTP connection :)

BTW, thanks for introducing me to htop. I've always used top, had never heard of htop. It is schweet.

Cheers.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct