* fhandler_process.cpp (format_process_status): Use tabs in formatting
instead of spaces.
This commit is contained in:
parent
13d991bbea
commit
4b84574c07
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-22 Chris January <chris@atomice.net>
|
||||||
|
|
||||||
|
* fhandler_process.cpp (format_process_status): Use tabs in formatting
|
||||||
|
instead of spaces.
|
||||||
|
|
||||||
2004-12-22 Corinna Vinschen <corinna@vinschen.de>
|
2004-12-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (set_normalized_path): Allow empty pathnames.
|
* path.cc (set_normalized_path): Allow empty pathnames.
|
||||||
|
|
|
@ -569,23 +569,23 @@ format_process_status (_pinfo *p, char *destbuf, size_t maxsize)
|
||||||
// The real uid value for *this* process is stored at cygheap->user.real_uid
|
// The real uid value for *this* process is stored at cygheap->user.real_uid
|
||||||
// but we can't get at the real uid value for any other process, so
|
// but we can't get at the real uid value for any other process, so
|
||||||
// just fake it as p->uid. Similar for p->gid.
|
// just fake it as p->uid. Similar for p->gid.
|
||||||
return __small_sprintf (destbuf, "Name: %s\n"
|
return __small_sprintf (destbuf, "Name:\t%s\n"
|
||||||
"State: %c (%s)\n"
|
"State:\t%c (%s)\n"
|
||||||
"Tgid: %d\n"
|
"Tgid:\t%d\n"
|
||||||
"Pid: %d\n"
|
"Pid:\t%d\n"
|
||||||
"PPid: %d\n"
|
"PPid:\t%d\n"
|
||||||
"Uid: %d %d %d %d\n"
|
"Uid:\t%d %d %d %d\n"
|
||||||
"Gid: %d %d %d %d\n"
|
"Gid:\t%d %d %d %d\n"
|
||||||
"VmSize: %8d kB\n"
|
"VmSize:\t%8d kB\n"
|
||||||
"VmLck: %8d kB\n"
|
"VmLck:\t%8d kB\n"
|
||||||
"VmRSS: %8d kB\n"
|
"VmRSS:\t%8d kB\n"
|
||||||
"VmData: %8d kB\n"
|
"VmData:\t%8d kB\n"
|
||||||
"VmStk: %8d kB\n"
|
"VmStk:\t%8d kB\n"
|
||||||
"VmExe: %8d kB\n"
|
"VmExe:\t%8d kB\n"
|
||||||
"VmLib: %8d kB\n"
|
"VmLib:\t%8d kB\n"
|
||||||
"SigPnd: %016x\n"
|
"SigPnd:\t%016x\n"
|
||||||
"SigBlk: %016x\n"
|
"SigBlk:\t%016x\n"
|
||||||
"SigIgn: %016x\n",
|
"SigIgn:\t%016x\n",
|
||||||
cmd,
|
cmd,
|
||||||
state, state_str,
|
state, state_str,
|
||||||
p->pgid,
|
p->pgid,
|
||||||
|
|
Loading…
Reference in New Issue