Taken from https://github.com/bahamas10/dotfiles/blob/master/bashrc
Show amount of billable storage spaced used in Manta
| root@3e4601c0-00af-4d93-c8b2-f4584487aa7c:~# dtrace -ln pid18959:main::entry | |
| ID PROVIDER MODULE FUNCTION NAME | |
| 14543 pid18959 main main entry | |
| 14693 pid18959 main _TF4main6findMeFT_Si entry | |
| 14694 pid18959 main _TF4main1bFT_Si entry | |
| 14695 pid18959 main __libc_csu_init entry | |
| 14696 pid18959 main __libc_csu_fini entry | |
| root@3e4601c0-00af-4d93-c8b2-f4584487aa7c:~# dtrace -ln pid18959:main::entry | swift-demangle | |
| ID PROVIDER MODULE FUNCTION NAME |
| $ docker run --name btsync-storage -v /mnt/sync -m 2G alpine date | |
| $ docker run -d --name Sync -p 8888 --volumes-from btsync-storage --restart on-failure bittorrent/sync |
Taken from https://github.com/bahamas10/dotfiles/blob/master/bashrc
Show amount of billable storage spaced used in Manta
| root@ee0e551e597f:/# vim example.js | |
| root@ee0e551e597f:/# node example.js | |
| Server running at http://127.0.0.1:1337/ | |
| [1]+ Stopped node example.js | |
| root@ee0e551e597f:/# bg | |
| [1]+ node example.js & | |
| root@ee0e551e597f:/# ps -ef | |
| UID PID PPID C STIME TTY TIME CMD | |
| root 31812 1 0 21:51 ? 00:00:00 ps -ef |
| ue4_on_lx : pargs -ae 29784 | |
| 29784: ./ShooterGameServer TheIsland?listen?SessionName=dtrace?ServerAdminPassword=wha | |
| argv[0]: ./ShooterGameServer | |
| argv[1]: TheIsland?listen?SessionName=dtrace?ServerAdminPassword=whateveradminpass | |
| argv[2]: -server | |
| argv[3]: -log | |
| envp[0]: SHELL=/bin/bash | |
| envp[1]: TERM=xterm-256color | |
| envp[2]: OLDPWD=/home/steam |
MDB is unlike most debuggers you've experienced.
It is not a source level debugger like gdb or lldb or even Node's builtin debugger
Generally used for postmortem analysis.
Postmortem is for Production and Development
We operate mostly on core files, though you can attach to running processes as well.
| { | |
| "owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853", | |
| "image_uuid": "818cc79e-ceb3-11e4-99ee-7bc8c674e754", | |
| "brand": "lx", | |
| "alias": "demo", | |
| "networks": [ | |
| { | |
| "ipv4_uuid": "fc0f4390-5a0d-4911-a36b-5039e3a848ec", | |
| "ipv4_ips": ["10.88.88.17"], | |
| "primary": "true" |
| root@plexlx:~# wget https://downloads.plex.tv/plex-media-server/0.9.11.16.958-80f1748/plexmediaserver_0.9.11.16.958-80f1748_amd64.deb | |
| --2015-04-05 04:52:29-- https://downloads.plex.tv/plex-media-server/0.9.11.16.958-80f1748/plexmediaserver_0.9.11.16.958-80f1748_amd64.deb | |
| Resolving downloads.plex.tv (downloads.plex.tv)... 2400:cb00:2048:1::6814:709, 2400:cb00:2048:1::6814:609, 104.20.7.9, ... | |
| Connecting to downloads.plex.tv (downloads.plex.tv)|2400:cb00:2048:1::6814:709|:443... failed: Network is unreachable. | |
| Connecting to downloads.plex.tv (downloads.plex.tv)|2400:cb00:2048:1::6814:609|:443... failed: Network is unreachable. | |
| Connecting to downloads.plex.tv (downloads.plex.tv)|104.20.7.9|:443... connected. | |
| HTTP request sent, awaiting response... 200 OK | |
| Length: 119172228 (114M) [application/octet-stream] | |
| Saving to: ‘plexmediaserver_0.9.11.16.958-80f1748_amd64.deb’ |
| { | |
| "alias": "plex", | |
| "brand": "lx", | |
| "kernel_version": "3.13.0", | |
| "max_physical_memory": 4096, | |
| "image_uuid": "818cc79e-ceb3-11e4-99ee-7bc8c674e754", | |
| "resolvers": ["8.8.8.8","8.8.4.4"], | |
| "nics": [ | |
| { | |
| "nic_tag": "admin", |
| { | |
| "brand": "joyent", | |
| "image_uuid": "c02a2044-c1bd-11e4-bd8c-dfc1db8b0182", | |
| "autoboot": true, | |
| "alias": "testvm", | |
| "hostname": "testvm", | |
| "max_physical_memory": 256, | |
| "max_swap": 256, | |
| "nics": [ | |
| { |