44

I am sorry this the only screenshot i have, my laptop fan suddenly started up and wouldnt stop for like an hour so i opened sytem monitor and this was taking 25% cpu usage

all 29 comments
sorted by: hot top controversial new old
[-] A1kmm@lemmy.amxl.com 50 points 1 year ago* (last edited 1 year ago)

more is a legitimate program (it reads a file and writes it out one page at a time), if it is the real more. It is a memory hog in that (unlike the more advanced pager less) it reads the entire file into memory.

I did an experiment to see if I could get the real more to show similar fds to you. I piped yes "" | head -n10000 >/tmp/test, then ran more < /tmp/test 2>/dev/null. Then I ran ls -l /proc/`pidof more`/fd.

Results:

lr-x------ 1 andrew andrew 64 Nov  5 14:56 0 -> /tmp/test
lrwx------ 1 andrew andrew 64 Nov  5 14:56 1 -> /dev/pts/2
l-wx------ 1 andrew andrew 64 Nov  5 14:56 2 -> /dev/null
lrwx------ 1 andrew andrew 64 Nov  5 14:56 3 -> 'anon_inode:[signalfd]'

I think this suggests your open files are probably consistent with the real more when errors are piped to /dev/null. Most likely, you were running something that called more to output something to you (or someone else logged in on a PTY) that had been written to /tmp/RG3tBlTNF8. Next time, you could find the parent of the more process, or look up what else is attached to the same PTS with the fuser command.

[-] Artemis_Mystique@lemmy.ml 10 points 1 year ago

Thank you after reading the comments i am relieved: I had saved a 3 page fully worded .odt as as .fodt and opened it with a text editor; but then again all the files had been closed and i deleted the file in question a at least 30 mins before i noticed the process; regardless thank you

[-] federalreverse@feddit.de 11 points 1 year ago* (last edited 1 year ago)

~~Uhm, so what's the name of the binary? This is just a list of open files.~~ I missed that it's "more"...

[-] db2@sopuli.xyz 3 points 1 year ago

Dude thinks 'more' is a virus.

[-] fubo@lemmy.world 36 points 1 year ago* (last edited 1 year ago)

A process can change its name. If I wanted to make sneaky malware for Linux, I'd have it call itself more or something innocuous too.

The correct answer is "this is not enough information". Why should a real more process eat ¼ of a core for any substantial amount of time?

[-] Artemis_Mystique@lemmy.ml 1 points 1 year ago

is there like a competent antivirus i could use: the system is freshly installed and i havent used any shady software; everything from the repo and a hash checked tor browser(I didnt visit any shady site just clearnet browsing)

[-] fubo@lemmy.world 11 points 1 year ago* (last edited 1 year ago)

Then it's probably just more. Again: your post did not contain enough information for anyone to provide an answer to your question.

Antivirus doesn't do what it promises. The only general solution for a compromised system is a clean reinstall. (This is true in Windows too.)

[-] Helix@feddit.de 2 points 1 year ago

is there like a competent antivirus i could use: the system is freshly installed and i havent used any shady software;

There are several antivirus solutions for Linux, but you shouldn't need them if you do not execute stuff you downloaded outside of your package manager. The maintainers of your distribution are supposed to check if their packages contain viruses.

[-] federalreverse@feddit.de 4 points 1 year ago* (last edited 1 year ago)

Ooh, how'd I miss that..?

[-] Artemis_Mystique@lemmy.ml 1 points 1 year ago

Sorry i was panickin and killed the process this the only screen shot i have

[-] FMT99@lemmy.world 10 points 1 year ago

If it's a virus presumably it will return. Keep an eye (or ear) on your fan, especially after a restart.

[-] badbytes@lemmy.world 4 points 1 year ago

Id recommend you install "top" (I know nix funny names) and if run it, will show processes sortable by resource. But I think you are fine.

[-] elscallr@lemmy.world 14 points 1 year ago* (last edited 1 year ago)

htop and/or btop are more modern user friendly alternatives to the classic top

[-] SoNick@kbin.social 5 points 1 year ago

Ooh, I'd heard of htop but btop is new to me!

[-] elscallr@lemmy.world 7 points 1 year ago

Actually just saw btop mentioned on Lemmy the other day lol

[-] rufus@discuss.tchncs.de 10 points 1 year ago* (last edited 1 year ago)

Yeah, next time don't panic. Use ps and pstree and fuser (or the programs you like) to first find out the executable filename with full path and which program started it. Then you can kill it and you'll have some info to start debugging things.

[-] NegativeLookBehind@kbin.social 6 points 1 year ago

Check it in VirusTotal

[-] bestnerd@lemmy.world 4 points 1 year ago

Maybe? It could be numerous things. Are you using containers? Did an update or upgrade fail? Did you install and or patch something? Anything in sys logs giving off ERR or WARN? What’s your system and distro? What was the last few things you did before this popped?

[-] Artemis_Mystique@lemmy.ml 2 points 1 year ago

Fedora 38. nothing installed

[-] bestnerd@lemmy.world 1 points 1 year ago

What about the other questions?

[-] radiofreeval@hexbear.net 0 points 1 year ago
this post was submitted on 04 Nov 2023
44 points (76.8% liked)

Linux

48721 readers
971 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS