- 论坛徽章:
- 0
|
登入系统,报如上图错误 ,执行ps aux 没有输出, 执行 w 有输出。
并执行了 strace ps aux ,结果如下:
execve("/bin/ps", ["ps", "aux"], [/* 33 vars */]) = 0
[ Process PID=30431 runs in 32 bit mode. ]
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0) = 0x9333000
brk(0x9333c90) = 0x9333c90
set_thread_area(0xff854324) = 0
set_tid_address(0x933387 = 30431
rt_sigaction(SIGRTMIN, {0x80864f0, [], SA_SIGINFO}, NULL, = 0
rt_sigaction(SIGRT_1, {0x8086558, [], SA_RESTART|SA_SIGINFO}, NULL, = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, = 0
getrlimit(RLIMIT_STACK, {rlim_cur=-4284481536, rlim_max=564187122106368*1024}) = 0
_sysctl({0x2080f792c, -8043696, (nil), (nil), (nil), 18412198878653710337}) = 0
brk(0x9354c90) = 0x9354c90
brk(0x9355000) = 0x9355000
brk(0x9379000) = 0x9379000
futex(0x8121bec, FUTEX_WAKE, 2147483647) = 0
brk(0x939a000) = 0x939a000
readlink("/proc/30431/exe", "/bin/ps", 1024) = 7
readlink("/proc/30431/exe", "/bin/ps", 1024) = 7
access("/usr/bin/dpkgd/ps", F_OK) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0) = 30432
close(4) = 0
fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff77f6000
read(3, "USER PID %CPU %MEM VSZ "..., 4096) = 4096
read(3, "t 52 0.0 0.0 0 "..., 4096) = 4096
read(3, "S 2014 6:07 [events/4]\nroo"..., 4096) = 4096
read(3, "S 2014 0:42 [kblockd/1]\nro"..., 4096) = 4096
read(3, "2014 0:00 [md/0]\nroot 21"..., 4096) = 4096
read(3, ".0 0.0 0 0 ? S "..., 4096) = 4096
read(3, " S 2014 0:00 [kthrotl"..., 4096) = 4096
read(3, " S 2014 0:00 [ext4-dio"..., 4096) = 4096
read(3, " 1627 0.0 0.0 0 0 ? "..., 4096) = 4096
read(3, "mand/13]\nroot 2138 0.2 0."..., 4096) = 4096
read(3, "? S 2014 0:00 [fcoe"..., 4096) = 4096
read(3, " 0.0 0.0 0 0 ? "..., 4096) = 4096
read(3, " 0 0 ? S 2014"..., 4096) = 4096
read(3, " 3037 0.0 0.0 27216 372 ? "..., 4096) = 4096
read(3, "Size=128m -Djava.awt.headless=tr"..., 4096) = 4096
read(3, "cond -u\nroot 10784 0.0 0.0"..., 4096) = 4096
read(3, "XX:+UseParNewGC -XX:+UseConcMark"..., 4096) = 4096
read(3, "/lib/camel-spring-2.10.3.jar:./l"..., 4096) = 3774
read(3, "", 4096) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
waitpid(30432, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 30432
munmap(0xf77f6000, 4096) = 0
exit_group(0) = ?
之前都好着, 今天登录,执行ps 命令和netstat -tnpl 都没有结果输出, 不知道原因出在哪 |
|