The officially official Devuan Forum!

You are not logged in.

#51 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-25 18:41:45

@GlennW

You're welcome, Glenn. WinXP days, with Netscape, Winamp, Zonealarm and stopping by grc to read and learn. Ever use BlackViper's site to configure services?

I keep finding some ports open, like telnet and LP...

Haven't seen it here but I'll keep an eye out. Did you find that from grc's All Ports test, another site's test or local?

I reseated the nvme ssd I haven't had any crashes.

That's good news. Hard to tell initially... sometimes it's easy and sometimes it's anything but.

You might try LibRedirect when at FB. It's a FF addon that redirects the connection to youtube and most social sites through privacy friendly frontends.

I used to use LibRedirect to watch/download youtube videos with youtube and googlevideo disabled in NoScript. Since youtube began splitting audio from video I had to download them separately. Used ffmpeg to join the m4a and mp4 but it became tedious. Started using sites like youtube4kdownloader_com and 9convert_com/en404 to download a video with audio.

Thanks for starting this thread, Glenn.

#52 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-25 18:40:54

@zapper

The iucode leak was discovered and a free fix is available, but I didn't wanna mess with replacing bios code. Same reason I haven't done the coreboot. Got a good repair shop in a local retailer and I'll ask the next time I'm there.

Intel's me expanded into more modules, same for the expanding aes* security modules. Seems more of their stuff is added to each new kernel version... the difference between Beowolf and Ceres kernels in CPU use and ram is noticable.

Agree with you about security. Wifi isn't a problem 'cause I use a wired connection, and only turn on the router's wifi when family or friends are here.

Used eMatrix for a while with PaleMoon and liked it. Got Icecat installed but haven't used it much. Hadn't heard of arkenfox but looked into Ghack's user.js. Do you know if it's as effective as claimed?

Hyperbola seems a fine OS. Tried installing in VBox and after much effort, realized I was using instructions of a different version than I was trying to install. One of those duh moments. smile I'll give it another go soon.

Thanks zapper.

#53 Re: Freedom Hacks » Securing my/our computer systems » 2024-02-24 21:59:23

GlennW wrote:

securing my system from being hacked

Great thread. Got me curious so I looked up 'hacked bios' and in the list of alternate searches was 'hacked bios download.' A number of sites have tools (for good or ill) to hack/edit most any bios.

Among many similar, null-byte.wonderhowto_com had these articles:

How To Scan for Vulnerabilities on Any Website Using Nikto
How To Crack SSH Private Key Passwords with John the Ripper
How To Crack Shadow Hashes After Getting Root on a Linux System
How To Gain SSH Access to Servers by Brute-Forcing Credentials
Hack Like a Pro How to Find Directories in Websites Using DirBuster
iOS 17 Tips, Tricks, How-Tos, News
How To Find Anyone's Private Phone Number Using Facebook

Found a 2015 'BIOS Hacking' article at Schneier:

We’ve learned a lot about the NSA’s abilities to hack a computer’s BIOS so that the hack survives reinstalling the OS. Now we have a research presentation about it.

https://www.schneier.com/blog/archives/ … cking.html

I've tested ports at grc_com going back to WinXP days. Good site for learning although it's mainly for Windows. A recent test on Common Ports with NoScript set to 'Trusted' for grc:

GRC Port Authority Report created on UTC: 2024-02-14 at 00:20:52

Results from scan of ports: 0, 21-23, 25, 79, 80, 110, 113,
                            119, 135, 139, 143, 389, 443, 445,
                            1002, 1024-1030, 1720, 5000

    0 Ports Open
    0 Ports Closed
   26 Ports Stealth
---------------------
   26 Ports Tested

ALL PORTS tested were found to be: STEALTH.

TruStealth: PASSED - ALL tested ports were STEALTH,
                   - NO unsolicited packets were received,
                   - NO Ping reply (ICMP Echo) was received.

Did a test at youtube. Ran macchanger and restarted the router for a new IP, and found youtube's 'suggestions' were the same videos I'd watched the day before, despite watching a completely unrelated video. Next day, after macchanger and router, I booted TinyCore from a USB. Although watching a video unrelated to those I'd previously watched, youtube's 'suggestions' were what I'd watched both previous days.

Seems youtube's had my MAC address, stats and profile for as long as I've had this hardware. Google's everywhere and can likely identify public facing hardware no matter what security is used. I assume the other major and social networks can do the same.

While talking with neighbors when Facebook first became a hot site, I mentioned to one I wasn't interested in joining Facebook. When she said she'd never emailed me about joining I rechecked her email. Facebook was stealing members' contact lists and sending invites to contacts in the member's name. Dunno if they still do it but I've stayed away from social networks since then. When I vounteered I suggested members change their Facebook's registered email to another email with no contacts, and not use FB's in-house mail.

Got two versions of Devuan, each on a SSD, and keep personal stuff and backups on two parked HDDs. FF is for general and Waterfox for email, with NoScript, PrivactBadger, a few 'about' page tweaks and no stored passwds. I try to keep apps/services/firmware which listen to a minimum, or block when possible. Eg: iucode-tool firmware is not installed as a tiny OS inside Intel CPUs uses it to 'phone home.' Also keep ~50 default modules blacklisted.

Guess it's a balance between security and what's comfortable to maintain. It's feeling like I'm doing something yet knowing nothing I do can prevent a seriously targeted attack.

Appreciate all the tips and ideas.

#54 Re: Desktop and Multimedia » Upcoming browser changes » 2023-12-14 22:58:51

Watched a recent video about Wayland and, assuming the assessment is reasonably accurate (Switched to Linux), the problems appear endless for Wayland-only distros both now and down the road. Lotsa bandwagon hype but not a lot of substance.

As I understand it, each DE will have to choose one of 40+ compositors to support, and app devs and maintainers will have to adapt to that choice. If an independent app like Firefox adapts to Sway and the DE only supports Wayfire, Firefox may or may not work.

Wayland Woes
December 11, 2023
24:11
https://odysee.com/@switchedtolinux:0/wayland-woes:9

Example at the Xfce forums on 2023-12-04:
Whisker menu removed the ability to resize in realtime with edge grabs
https://forum.xfce.org/viewtopic.php?id=17137

OP

I recently updated my Whisker menu to version 2.8.0 and have discovered that one of the features that I am fond of and very used to using has now been decided to be removed?

2nd post

This is because it's not supported on Wayland and the developer doesn't want to maintain two different code paths for Wayland and X11, see https://gitlab.xfce.org/panel-plugins/x … issues/112

44 Best Wayland compositors as of 2023
https://www.slant.co/topics/11023/~wayland-compositors

#55 Re: Desktop and Multimedia » [SOLVED] Firefox no sound. » 2023-11-14 21:29:41

aluma wrote:

I copied the FF profile from openSuse to Devuan

That may be the problem. I did the same from one OS to another. Resolved it when I set the copied .mozilla directory to old and started fresh.

#57 Re: Off-topic » AI on mainstream media » 2023-06-05 19:58:50

You're very welcome. And thank you for the link... she's a gem of information!

Freespoke is very good. Been using it for a month or so and it finds stuff others don't. Also, LibRedirect is a useful extension: https://libredirect.github.io/

In the video below, Max Igan tells pretty much the same story as Catherine Austin Fitts. Fitts' strength is financial whereas Igan's is highlighting specific events with common sense.

Holodomor 2.0 The Rebirth of Bolshevism
July 6, 2022
1:16:30
https://odysee.com/@thecrowhouse:2/Holo … lshevism:c

Thankfully, Dr. Reiner Fuellmich has actually been doing something about what's going on:

Gates, Fauci, and Daszak charged with Genocide in Court Filing
Dec 20, 2021
https://www.thedesertreview.com/opinion … 063ed.html

He got shot down by 'legalities' in several countries and is now beginning another suit in New Zealand:

Dr. Reiner Fuellmich: Breaking! Crimes Against Humanity Trials Begin! (Video)
June 3, 2023
37:24
https://zeeemedia.com/interview/dr-rein … w-zealand/

No surprise Fitts's damning reports, Fuellmich's suits, Igan's highlights and many others have been ignored by MSM. Maybe AI has had those 'fact check' algorithms in searches for years?

#58 Re: Off-topic » AI on mainstream media » 2023-05-30 19:27:03

pcalvert wrote:

I saw a short clip from a recent Elon Musk interview. In it, he mentioned that AI is already being taught to lie.

Standardpoodle wrote:

What really happens is one thing. How it is marketed is another.

I agree. And it's not only how it is marketed but also when it's marketed.

Google started road testing AI over a decade ago, so I'm guessing development began a decade or more earlier.

Project Chauffeur ran for almost two years undetected, road testing with seven vehicles before the New York Times revealed their existence on October 9, 2010.

https://wikiless.org/wiki/Waymo?lang=en … _Chauffeur

As for Musk...

All you have to do is think. Using Elon Musk as an example, the man appeared to come from literally nowhere and yet suddenly “owns” the world’s largest auto manufacturer. Musk at the same time began an aggressive program of launching tens of thousands of communications satellites, and then SpaceX, “Elon Musk’s private spaceflight company”, the maker of the Starship, planning International Space Station missions, no less. Then we have Musk buying Twitter for $44 billion.

In the last 100 years, anyone attempting to create a new auto company and brand has met with disaster, but Musk apparently experienced not a hiccup with the Tesla that is suddenly a world favorite. This would have required perhaps ten years of planning and design, the planning of factories and production, the creation of supply lines, the testing and certification, and so much more, but with Tesla this apparently all occurred overnight in a vacuum. Are we to believe Elon Musk designed the Tesla? There is no evidence Musk has the ability to design even a dipstick, much less an entire car, so how did all this occur and what was the source of the background billions required to bring this project to fruition? Musk played no part in the creation of the Tesla. He just somehow showed up at the end, “owning” the company.

Similarly, the aggressive program of communication satellites that “Elon Musk” has launched; this as well would require many years of planning and design, to say nothing of arranging the launch facilities and obtaining the necessary thousands of paying customers. This again would require years and billions of dollars in financing but, like Bezos’ space flight program, this one suddenly appeared in full bloom, operating, launched, and ready to go. Who did the planning for this? It certainly wasn’t Musk, so who was behind it? And the money for all this came from where? “Musk’s” Tesla has never made a profit, so where would he obtain the billions for a pie-in-the-sky system of tens of thousands of communications satellites? Nothing like this can happen without a decade or more of intensive planning and an enormous investment, and obviously none of that came from Musk.

These would be enough challenge for any man, but then we had “Elon Musk” buying Twitter for $44 billion. How would that happen? We are told that Musk suddenly has wealth of – vaguely – $200 billion, with no detail, but presumably from stock holdings in “his” Tesla. But are we to assume that Musk has an extra $44 billion in loose cash sitting in the bank to purchase Twitter? That’s not possible, and Musk isn’t selling half his interest in Tesla shares to finance it, so what is the source of the money? The media confuse this by providing only a few sound bytes but no detail, and thus we have thoughts loosely in our minds that Musk is very wealthy and could somehow afford to purchase Twitter, but all we need to do is think to realise that is impossible.

The Richest Man in the World
November 21, 2022
21,000 Words
https://www.unz.com/lromanoff/the-riche … the-world/

Five minutes of details:
The Real Elon Musk
2023-05-18
4:51
https://153news.net/watch_video.php?v=MR1GD3WASDK8

Musk is a popular talking head, yet a distraction, as is ChatGPT and much of what's in the daily headlines. The major search engines are already using AI, and a search for 'ai test shows bias' can find lots of articles going back years. Perhaps the AI 'bias' (lying) is to facilitate the perspective below?

Planet Lockdown
Catherine Austin Fitts Interview
Dec 29, 2020
NOTE: video was banned on facebook and youtube in Feb 2021 after 20+M views
48:28
https://odysee.com/@VideosBannedFromYou … Lockdown:f

#59 Re: Off-topic » A warning from the godfather of AI » 2023-05-04 16:20:17

Followed golinux's thread, this one too.

A month ago a ChatGPT ad/spam showed up in my email and two weeks ago I got a snailmail full-color, oversized postcard. Both described how cool ChatGPT is and how it would enhance my life. Reminded me of 'The Cloud' promotions years ago, and entrusting personal stuff on someone else's hard drive... and paying a monthly fee for the priviledge.

The difficulty in searching ChatGPT was deciding which of the zillions of links to follow. While big tech's already using it and it's widely promoted, the experts are issuing dire warnings?

OpenAI's new ChatGPT bot: 10 dangerous things it's capable of
December 6, 2022
https://www.bleepingcomputer.com/news/t … apable-of/

Links following above article:
OpenAI releases tool to detect AI-written text
Microsoft unveils AI-powered Microsoft 365 Copilot assistant
DuckDuckGo launches AI-powered search query answering tool
Brave Search launches AI-powered summarizer in search results
Microsoft adds AI-powered Bing Chat to Windows 11 taskbar

Google's AI Robot TERRIFIES Officials Before It Was Quickly Shut Down
February 21, 2023
8:35
https://inv.vern.cc/watch?v=ERXG_yndO3E
NOTE: Observant comments. Scroll for more AI videos on same page

ChatGPT creator warns of AI dangers
19 Mar, 2023
https://www.rt.com/news/573243-gpt-creator-ai-danger/
From the article:

Altman told ABC that his company is in “regular contact” with government officials, but did not elaborate on whether these officials played any role in shaping ChatGPT’s political preferences. He told the American network that OpenAI has a team of policymakers who decide “what we think is safe and good” to share with users.

Altoid wrote:

Interesting times ...

Indeed. It's often time consuming to confirm whether the news we're reading or watching is real. Like the greenscreen and real time video editing already in use, and digital people (eg: Google's AI Robot) the public seems to trust more than real people, AI adds another subtle layer of BS to wade through... assuming we even see it for what it is.

#61 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 21:25:06

@Head_on_a_Stick

Appreciate your thoughts. Yes, I can upgrade to the new procps and accept the different  memory reporting and hope it'll be corrected soon. I can also keep the older procps until the problem's resolved, hopefully soon. I've had to put a hold on a pkg several times when the upgrade was available but one or two of its dependencies were not. I'll keep the older procps for now until some other essential pkg/s require the upgrade.

FWIW
The new procps has libprocps as a dependency. I didn't find any reported bugs for the library but I did find the links below for procps-2:4.0.2-1 and a fix for 2:4.0.2-2. Neither mentions a memory reporting problem. Despite what was fixed, procps-2:4.0.2-2 caused the memory problem. There might be more bug reports but I didn't find any.

Oct 24 2022
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022573
Dec 5 2022
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025495

#62 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 21:22:47

@aluma

A search in /.local/shared/xorg and /var/log showed no 'download' in the current or old files, in either of the sda or sdb OSs. My understanding is the log shows loading/testing/unloading until the correct mix of modules for your hardware is found... screen, mouse, keyboard, etc. When my 24" screen died (DVI to HDMI) and I started using the 37" TV (HDMI to HDMI), no adjustment/tinkering was needed... it just worked. Assuming the download is from some online source, it seems odd and worth checking.

#63 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-19 03:45:30

rbit wrote:

Maybe this is the cause of the discrepancy?  apt-listchanges news:

procps (2:4.0.2-1) unstable; urgency=medium

Downgraded to 2:3.3.17-5+devuan1, rebooted and memory is back to normal.

Damn fine catch, rbit. Thank you!

#64 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 20:59:38

@Head_on_a_Stick

I think the OP's log will be under ~/.local/share/xorg/

Yes, it is. The ps -C Xorg -o user cmd from your link shows X running under USER/me, so the log shows up in my home dir.

@aluma

open /var/log/Xorg.0.log and see what it downloads.

Please explain 'it downloads' and/or what to look for.

#65 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 06:15:14

... and coming up with a miraculous fix for a 'modest' fee.

#66 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 02:24:48

@andyprough

been keeping your page memory and dentries and inodes nice and clean?

Yes. I don't usually boot back and forth between sda/sdb as I've done this past week. I'm normally in one or the other for a month or more without a reboot. That sync cmd is in the fluxbox menu and I run it a couple of times a week. Appreciate the thought.

#67 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-18 02:21:00

@Head_on_a_Stick

Glad the doas in my previous post looked normal. I just ran it again. Any idea why xorg is almost double what it was with the same files open on the desktop?

doas ps_mem | grep 'Xorg\|fluxbox'
  4.2 MiB +   1.1 MiB =   5.3 MiB       fluxbox
100.4 MiB +   4.7 MiB = 105.0 MiB       Xorg

Yes, free still shows excess memory. With just xterm on the desktop:

free -m
               total        used        free      shared  buff/cache   available
Mem:            3771         465        2939          53         630        3306
Swap:           1824           0        1824

Procps was updated on Dec 6:
[UPGRADE] procps:amd64 2:3.3.17-7.1devuan1 -> 2:4.0.2-1devuan1
along with this:
[REMOVE, NOT USED] libprocps8:amd64 2:3.3.17-7.1devuan1
The libprocps8 pkg is in the Debian repos but not in Devuan's... haven't looked into why.
Was updated again on Dec 16:
[UPGRADE] procps:amd64 2:4.0.2-1devuan1 -> 2:4.0.2-2devuan1

Yes, the CPU's a Haswell but the intel-microcode and iucode-tool pkgs are not installed. The firmware-linux and firmware-linux-nonfree pkgs are not installed, either. Neither of the sda/sdb OSs have had any of those pkgs installed for well over a year. The kernel, though, has about ten built-in Intel modules for sound, better function and security.

I'm out of ideas here, sorry.

No worries, my thanks for all you've done to help.

#68 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 22:39:59

The xserver-xorg-video-intel pkg isn't installed, nor anything intel (eg: non-free microcode, driver, shaders) except libdrm-intel1, as a dependency of libgl1-mesa-dri. X is using mesa's OpenGL stuff... video works great online or local. The HD4400 graphics chip is integrated with the Core i3-4160 CPU.

$ inxi -G
Graphics:
  Device-1: Intel 4th Generation Core Processor Family Integrated
    Graphics driver: i915 v: kernel
  Display: server: X.Org v: 1.21.1.5 driver: X:
    loaded: modesetting dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel HD Graphics
    4400 (HSW GT2)

Don't have/use a compositor, just fluxbox's pseudo transparency. With Xorg 21.5.1:

doas ps_mem | grep 'Xorg\|fluxbox'
  4.8 MiB + 625.5 KiB =   5.4 MiB       fluxbox
 52.6 MiB +  27.3 MiB =  79.8 MiB       Xorg

Thanks for doas, didn't know of it until your post.

#69 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 19:06:39

.xinitrc

#!/bin/sh
#
numlockx &
conky --pause=1 -c ~/.conky/conky.conf &
# feh --bg-scale '~/.fluxbox/backgrounds/neon-surf.jpg' &
# feh --bg-scale '~/.fluxbox/backgrounds/la-playa.jpg' &
feh --bg-scale '~/.fluxbox/backgrounds/night-poppies-1.jpg' &
#
exec fluxbox

The line for feh invokes:

.fehbg

#!/bin/sh
feh --no-fehbg --bg-scale '~/.fluxbox/backgrounds/night-poppies-1.jpg'

And FWIW:

.xserverrc

#!/bin/sh
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR
Head_on_a_Stick wrote:

So what happens if you move .xserverrc somewhere else and run startx /usr/bin/fluxbox

Got the Fluxbox desktop, minus the background, etc.

Appreciate your thoughts, and I'm open to whatever info you ask for. However, just so you know, a little over halfway down the second page of 'Show your desktop (rebooted)' is my desktop from Sep 2018, #42. The .xinitrc and .fehbg files have been edited maybe two or three times since then for the background, and the .xsession file was never edited after creating it 2+ years ago.

BUT... what you asked gave me an idea. The only changes on these OSs, aside from updates and infrequent color scheme edits, are occasional downloads of videos, etc. The excess memory might be from a download, a dot file edit or something else. I moved everything except .Xauthority, .xinitrc (commented out conky, feh, xnumlock) and .xserver to 'old.home.stuff' and rebooted. Same excessive memory.

#70 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-17 01:33:01

The last xserver-xorg-core update was Nov 15, 2:21.1.4-2 -> 2:21.1.4-3. Since your last post, I updated and found the 21.1.5-1 version included with 115 available updates. Installed the updates and rebooted to get a fresh read. Same memory problem using 21.1.4-3 until earlier today, and 21.1.5-1 now.

It's a console login and 'xinit' starts the fluxbox desktop. The .xinitrc file has 'exec fluxbox,' feh loads the background, starts conky and xnumlock. Maybe 2/3 years ago, I had to create an '.xserverrc' file for xinit to start the desktop.

#71 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-16 20:20:03

@ralph.ronnquist

Thanks for the suggestion.

$ df -h | grep -E 'Filesystem|tmpfs'
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           378M  748K  377M   1% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           1.1G     0  1.1G   0% /dev/shm
tmpfs           378M  4.0K  378M   1% /run/user/1000

Been searching for an explanation of the above results but haven't found anything useful, or what it may have to do with suddenly showing excessive memory use. Appreciate any help.

#72 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-16 20:17:42

@Head_on_a_Stick

Thanks for taking a look. The ~/.xsession-errors file's dated Dec 2021, has a little over one page of lines and never updated. Some lines:

dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting NODM_X_TIMEOUT=300
dbus-update-activation-environment: setting NODM_FIRST_VT=7
dbus-update-activation-environment: setting MAIL=/var/mail/root
dbus-update-activation-environment: setting USER=(usr)
dbus-update-activation-environment: setting HOME=/home/(usr)
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FuMn6Eboxq,guid=9e57b5f520e2f6a60596091661b6297e
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=qt5ct
dbus-update-activation-environment: setting TERM=linux
dbus-update-activation-environment: setting WINDOWPATH=7
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1

Have you considered Wayland

No I haven't, although I've read some of your posts about it. Perhaps it's time to give it a spin and see for myself.

#73 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 23:40:19

Head_on_a_Stick wrote:

Shared memory usage in Linux is complicated

Ain't that the truth.

Most recent Xorg log, Dec 14
https://droptext.cc/napw

FWIW, my Dell 24" bit the dust about five months ago and currently using an old Motorola 37". 

inxi -G
Graphics:
  Device-1: Intel 4th Generation Core Processor Family Integrated
    Graphics driver: i915 v: kernel
  Display: server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.0 renderer: Mesa Intel HD Graphics
    4400 (HSW GT2)

#74 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 22:42:42

Thanks, aluma, top after pressing ">"

Tasks: 122 total,   1 running, 121 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.3 sy,  0.0 ni, 99.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3771.9 total,   2759.9 free,    451.8 used,    848.0 buff/cache     
MiB Swap:   1825.0 total,   1820.5 free,      4.5 used.   3320.1 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND             
26537 (usr)     20   0  615276 109048  60796 S   0.7   2.8   1:57.31 Xorg                 
26548 (usr)     20   0  625872  20612  14220 S   1.3   0.5   1:41.38 conky               
17393 (usr)     20   0   23512  13992   8072 S   0.0   0.4   0:00.17 xterm               
26547 (usr)     20   0   21848  11672   8652 S   0.0   0.3   0:06.10 fluxbox             
4536 (usr)     20   0  161004  10088   5444 S   0.0   0.3   0:01.21 at-spi2-registr     
4511 (usr)     20   0  308332   8628   5988 S   0.0   0.2   0:00.00 at-spi-bus-laun     
17395 (usr)     20   0    7984   4936   3516 S   0.0   0.1   0:00.01 bash                 
1473 (usr)     20   0    8104   4784   3324 S   0.0   0.1   0:00.02 bash                 
21935 (usr)     20   0    8172   4668   2664 R   0.0   0.1   0:00.01 top                 
4522 (usr)     20   0  156308   4432   4084 S   0.0   0.1   0:00.00 dconf-service       
4516 (usr)     20   0    4308   3068   2820 S   0.0   0.1   0:00.41 dbus-daemon         
1444 root      20   0   38084   3032   2656 S   0.0   0.1   0:00.01 elogind-daemon       
1463 root      20   0    4868   2336   1856 S   0.0   0.1   0:00.02 login               
1114 root      20   0    5868   2172   1960 S   0.0   0.1   0:00.00 dhclient             
1437 root      20   0    6608   2140   1932 S   0.0   0.1   0:00.09 cron                 
4508 (usr)     20   0    6672   2004   1664 S   0.0   0.1   0:00.00 dbus-launch         
4509 (usr)     20   0    4408   1928   1640 S   0.0   0.0   0:00.00 dbus-daemon         
1439 message+  20   0    4436   1832   1580 S   0.0   0.0   0:00.13 dbus-daemon         
    1 root      20   0    3296   1820   1776 S   0.0   0.0   0:01.30 init                 
1374 root      20   0  218332   1712   1304 S   0.0   0.0   0:00.01 rsyslogd             
  412 root      20   0   22892   1680   1344 S   0.0   0.0   0:00.15 udevd               
26536 (usr)     20   0    6176   1324   1152 S   0.0   0.0   0:00.00 xinit               
  671 root      20   0    2484    900    900 S   0.0   0.0   0:00.00 startpar             
1467 root      20   0    5872    860    772 S   0.0   0.0   0:00.00 getty               
1468 root      20   0    5872    860    776 S   0.0   0.0   0:00.00 getty               
1465 root      20   0    5872    796    708 S   0.0   0.0   0:00.00 getty               
1466 root      20   0    5872    780    692 S   0.0   0.0   0:00.00 getty               
1464 root      20   0    5872    760    672 S   0.0   0.0   0:00.00 getty               
1400 daemon    20   0    3580     84      0 S   0.0   0.0   0:00.00 atd                 
  670 root      20   0    2564     20      0 S   0.0   0.0   0:06.12 bootlogd             
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kthreadd

#75 Re: Hardware & System Configuration » [SOLVED] memory problem » 2022-12-15 21:50:04

Thanks for the thought, HoaS. I still have/use the ps-mem.py.sh script from 2015. I installed the one you linked and below are the results with just a root terminal on the desktop.

Old

# ps-mem.py.sh

 Private + Shared = RAM used    Program 

  4.0 KiB +  93.0 KiB =  97.0 KiB       startpar
 36.0 KiB +  94.0 KiB = 130.0 KiB       bootlogd
 76.0 KiB + 180.0 KiB = 256.0 KiB       init
100.0 KiB + 180.0 KiB = 280.0 KiB       atd
240.0 KiB + 371.0 KiB = 611.0 KiB       cron
508.0 KiB + 317.0 KiB = 825.0 KiB       dhclient
264.0 KiB + 572.0 KiB = 836.0 KiB       xinit
528.0 KiB + 459.0 KiB = 987.0 KiB       udevd
504.0 KiB + 548.0 KiB =   1.0 MiB       dbus-daemon
496.0 KiB + 902.0 KiB =   1.4 MiB       login
964.0 KiB + 808.0 KiB =   1.7 MiB       rsyslogd
  1.0 MiB + 878.0 KiB =   1.9 MiB       su
688.0 KiB +   1.2 MiB =   1.9 MiB       getty (5)
  1.3 MiB + 568.0 KiB =   1.9 MiB       elogind-daemon
  3.8 MiB +   4.3 MiB =   8.1 MiB       fluxbox
  4.2 MiB +   5.9 MiB =  10.0 MiB       bash (3)
  8.3 MiB +   7.1 MiB =  15.4 MiB       xterm
 10.8 MiB +   9.4 MiB =  20.2 MiB       conky
101.1 MiB +  48.9 MiB = 150.1 MiB       Xorg
---------------------------------
                        217.5 MiB
=================================

New

# ps_mem -d

 Private  +   Shared  =  RAM used       Program[pid]

  4.0 KiB +  70.5 KiB =  74.5 KiB       startpar [671]
 36.0 KiB +  44.5 KiB =  80.5 KiB       bootlogd [670]
100.0 KiB +  45.5 KiB = 145.5 KiB       atd [1400]
 76.0 KiB + 108.5 KiB = 184.5 KiB       init [1]
136.0 KiB +  84.5 KiB = 220.5 KiB       getty [1465]
136.0 KiB +  84.5 KiB = 220.5 KiB       getty [1468]
144.0 KiB +  83.5 KiB = 227.5 KiB       getty [1466]
136.0 KiB +  93.5 KiB = 229.5 KiB       getty [1467]
136.0 KiB +  99.5 KiB = 235.5 KiB       getty [1464]
240.0 KiB + 116.5 KiB = 356.5 KiB       cron [1437]
264.0 KiB + 280.5 KiB = 544.5 KiB       xinit [26536]
528.0 KiB +  50.5 KiB = 578.5 KiB       udevd [412]
508.0 KiB +  84.5 KiB = 592.5 KiB       dhclient [1114]
504.0 KiB + 185.5 KiB = 689.5 KiB       dbus-daemon [1439]
496.0 KiB + 268.5 KiB = 764.5 KiB       login [1463]
964.0 KiB +  69.5 KiB =   1.0 MiB       rsyslogd [1374]
  1.0 MiB + 344.5 KiB =   1.3 MiB       su [26612]
  1.3 MiB + 114.5 KiB =   1.5 MiB       elogind-daemon [1444]
  1.4 MiB + 500.5 KiB =   1.9 MiB       bash [1473]
  1.4 MiB + 596.5 KiB =   1.9 MiB       bash [26653]
  1.4 MiB + 592.5 KiB =   2.0 MiB       bash [26590]
  3.8 MiB +   1.7 MiB =   5.5 MiB       fluxbox [26547]
  8.3 MiB +   1.2 MiB =   9.5 MiB       xterm [26588]
 13.3 MiB +   1.6 MiB =  14.9 MiB       conky [26548]
101.0 MiB +   1.3 MiB = 102.2 MiB       Xorg [26537]
---------------------------------
                        146.7 MiB
=================================

The old and new scripts show different memory and shared memory values, and a 70MB difference in total. Some spot checks of xorg, conky and free:

xorg

# smem -k | sed -e '1p' -e '/xorg/!d' | grep -v sed
  PID User     Command                         Swap      USS      PSS      RSS 
26537 (user)    /usr/lib/xorg/Xorg -noliste        0    99.8M   102.8M   109.9M 

# cat /proc/26537/smaps | grep -i rss |  awk '{Total+=$2} END {print Total/1024" MB"}'
112.652 MB

conky

#  smem -k | sed -e '1p' -e '/conky/!d' | grep -v sed
  PID User     Command                         Swap      USS      PSS      RSS 
26548 (user)    conky --pause=1 -c /home/xe        0    13.0M    14.2M    20.1M 

#  cat /proc/26548/smaps | grep -i rss |  awk '{Total+=$2} END {print Total/1024" MB"}'
20.1133 MB

# free -m
               total        used        free      shared  buff/cache   available
Mem:            3771         455        2762          52         835        3316
Swap:           1824           4        1820

I'm probably missing something but how do you reconcile the differences between the totals of either ps_mem with free?

Board footer

Forum Software