I hereby claim:
- I am eugeny on github.
- I am eugeny (https://keybase.io/eugeny) on keybase.
- I have a public key whose fingerprint is F1A5 C116 840C 8DAE 0459 8427 5896 FCBB DD1C F4F4
To claim this, I am signing this object:
| uses GraphABC; | |
| uses System.Drawing; | |
| var | |
| w: integer := 640; | |
| h: integer := 480; | |
| c: integer := 0; | |
| begin | |
| SetWindowSize(w, h); |
| import grp | |
| import os | |
| import sys | |
| import subprocess | |
| root = sys.argv[1] | |
| for project_dir in os.listdir(root): | |
| project_dir = os.path.join(root, project_dir) | |
| for ws_dir in os.listdir(project_dir): |
I hereby claim:
To claim this, I am signing this object:
memuse measures unique physical total memory taken by a process and its children, ignoring duplicate copy-on-write pages and shared memory.
This is a solution for http://serverfault.com/questions/676335/how-measure-memory-without-copy-on-write-pages
It's a quick and dirty utility, but feel free to fork & improve.
Example:
~ » sudo ./memuse.py 15897 eugene@eugene-thinkpad
PID Commandline Frames (+unique) VMEM
| ffprobe version N-67933-gb4d8724 Copyright (c) 2007-2014 the FFmpeg developers | |
| built on Nov 24 2014 11:18:09 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) | |
| configuration: --enable-libx264 --enable-libvorbis --enable-libtheora --enable-gpl | |
| libavutil 54. 15.100 / 54. 15.100 | |
| libavcodec 56. 13.100 / 56. 13.100 | |
| libavformat 56. 15.100 / 56. 15.100 | |
| libavdevice 56. 3.100 / 56. 3.100 | |
| libavfilter 5. 2.103 / 5. 2.103 | |
| libswscale 3. 1.101 / 3. 1.101 | |
| libswresample 1. 1.100 / 1. 1.100 |
| ffprobe version 2.3.git Copyright (c) 2007-2014 the FFmpeg developers | |
| built on Aug 18 2014 23:26:02 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) | |
| configuration: --enable-libx264 --enable-libvorbis --enable-libtheora --enable-gpl | |
| libavutil 54. 4.100 / 54. 4.100 | |
| libavcodec 56. 0.101 / 56. 0.101 | |
| libavformat 56. 1.100 / 56. 1.100 | |
| libavdevice 56. 0.100 / 56. 0.100 | |
| libavfilter 5. 0.100 / 5. 0.100 | |
| libswscale 3. 0.100 / 3. 0.100 | |
| libswresample 1. 1.100 / 1. 1.100 |
| #tab-headers .active { | |
| background: #8cc63f !important; | |
| } | |
| #tab-headers .active i::before { | |
| color: #eee !important; | |
| } | |
| .ui-tabs-active.ui-state-active { | |
| background: #8cc63f !important; |
| 2014-05-26 20:45:31 1Woyxn-0000LH-GK <= eugene@eugene-thinkpad U=eugene P=local S=315 | |
| 2014-05-26 20:45:32 1Woyxn-0000LH-GK => forward <[email protected]> R=vdomain T=vmail | |
| 2014-05-26 20:45:33 1Woyxn-0000LH-GK => [email protected] <[email protected]> R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.136.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 | |
| 2014-05-26 20:45:33 1Woyxn-0000LH-GK Completed |
| 14.05.2014 06:53 INFO JMX: systemPost MCS_external 107.170.129.89:8081 test | |
| 14.05.2014 06:53 INFO JMX output: <MjmamphSystemResponseRootElement> | |
| <ResultCode>0</ResultCode> | |
| </MjmamphSystemResponseRootElement> | |
| 14.05.2014 06:53 INFO JMX: systemGet | |
| 14.05.2014 06:53 INFO JMX output: <MSRRE> | |
| <Date>2014/05/14</Date> |
| echo 'john doe, jane doe' | python -c "print '\n'.join(x.strip().replace(' ', '_') for x in raw_input().split(','))" |