| Server IP : 142.11.234.102 / Your IP : 216.73.216.19 Web Server : Apache System : Linux dal-shared-66.hostwindsdns.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : krnuyqrm ( 1183) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#compdef gcore
case $OSTYPE in
solaris*)
local -a content
content=(
'anon[anonymous private mappings]'
'ctf[CTF type information]'
'data[writable private file mappings]'
'dism[DISM mappings]'
'heap[process heap]'
'ism[ISM mappings]'
'rodata[read-only private file mappings]'
'shanon[anonymous shared mappings]'
'shfile[file-backed shared mappings]'
'shm[System V shared memory]'
'stack[process stack]'
'symtab[symbol table sections for loaded files]'
'text[readable and executable private file mappings]'
)
_arguments -s \
'(-c -g)-p[use per-process core file repository]' \
'(-c -p)-g[use global core file repository]' \
'-F[force grabbing the target process]' \
'(-p -g)-c[set core file content]: :_values -s + "content" $content' \
'-o[set core file base name]:file base name:_files' \
'*:pid:_pids'
;;
netbsd*)
_arguments \
'-c+[write core file to specified file]:file:_files' \
'*:pid:_pids'
;;
freebsd*)
_arguments -s \
'-c+[write core file to specified file]:file:_files' \
'-f[dump all available segments]' \
'-s[stop process while gathering image]' \
'::executable:' \
':pid:_pids'
;;
*)
# GNU GDB gcore
_arguments \
'-o[set core file base name]:file base name:_files' \
':pid:_pids'
;;
esac