Search notes:

/proc/$pid/statm

/proc/$pid/statm shows the following values, separated by a space:
size Total program size (pages) Same as VmSize in status
resident Size of memory pritions (pages) Same as VmRSS in status
shared Number of pages that are shared (i. e. backed by a file) Same as RssFile + RssShmem in status
trs Number of pages that are code (not including libs; broken. includes data segments)
lrs Number of pages of library (always 0)
drs Number of pages of data/stack (including libs; broken, includes library text)
dt Number of dirty pages

See also

/proc/$pid/status
Perl module Memory::Usage

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1745056148, '3.128.202.38', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/proc/pid/statm(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78