44
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 04 Nov 2023
44 points (76.8% liked)
Linux
48349 readers
422 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
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 pagerless
) 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 pipedyes "" | head -n10000 >/tmp/test
, then ranmore < /tmp/test 2>/dev/null
. Then I ranls -l /proc/`pidof more`/fd
.Results:
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 samePTS
with thefuser
command.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