Memory usage of /home/<user>
Memory usage of /home/<user>
How to check the memory usage of scripts in home folder, or if possible in a specific folder? I have 26 scripts in /home/rasat/.fvwm.
Re: Memory usage of /home/<user>
Are you asking how much memory is taken up by the scripts in that folder?
__ or
asking how much memory is being taken up when those scripts when they are running?
__ or
asking how much memory is being taken up when those scripts when they are running?
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
-
- Posts: 10
- Joined: Mon Aug 24, 2020 11:19 pm
Re: Memory usage of /home/<user>
If you have something like the Xfce Task Manager program, it will show your scripts in the process tree, with their "RSS" resident memory usage and CPU % utilization, as well as a few other optional measurements.
The location of the scripts will be shown if you elect to display "full command line" also.
The location of the scripts will be shown if you elect to display "full command line" also.
Re: Memory usage of /home/<user>
Do you mean disk space?
Re: Memory usage of /home/<user>
My question is, how much memory is taken up by the scripts in that folder? They are individual items that have class names and Window ID by Fvwm (FvwmButtons, FvwmPager, FvwmBacker, Script, etc.). Surely visible with the right bash command.CharlesV wrote: Sun Oct 08, 2023 3:45 pm Are you asking how much memory is taken up by the scripts in that folder?
__ or
asking how much memory is being taken up when those scripts when they are running?
Re: Memory usage of /home/<user>
ram memory or disk memory?
Re: Memory usage of /home/<user>
Hmm.. well... ls will show you disk space used.
For ram on a particular process, you can use the time command.
or the ps command.
Some examples here:
https://askubuntu.com/questions/593401/ ... running-it
and here
https://stackoverflow.com/questions/179 ... at-runtime
For ram on a particular process, you can use the time command.
Code: Select all
time script_name
Code: Select all
ps -p <PID_Here> -o %cpu,%mem,cmd
https://askubuntu.com/questions/593401/ ... running-it
and here
https://stackoverflow.com/questions/179 ... at-runtime
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Memory usage of /home/<user>
Had a look at Task Manager (xfce4-taskmanager), which gives the Ram memory that I was searching for. Missing are still scripts without a class, if these can be found.


Re: Memory usage of /home/<user>
You might try htop I prefer that to really find out whats going on.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!