Searched refs:psinfo (Results 1 - 3 of 3) sorted by relevance
/openjdk10/jdk/src/java.base/unix/native/libjava/ |
H A D | ProcessHandleImpl_unix.c | 626 * Helper function to get the 'psinfo_t' data from "/proc/%d/psinfo". 629 static int getPsinfo(pid_t pid, psinfo_t *psinfo) { argument 635 * Try to open /proc/%d/psinfo 637 snprintf(fn, sizeof fn, "/proc/%d/psinfo", pid); 643 ret = fread(psinfo, 1, sizeof(psinfo_t), fp); 652 * Read /proc/<pid>/psinfo and return the ppid, total cputime and start time. 659 psinfo_t psinfo; local 661 if (getPsinfo(pid, &psinfo) < 0) { 670 *totalTime = psinfo.pr_time.tv_sec * 1000000000L + psinfo 679 psinfo_t psinfo; local [all...] |
/openjdk10/jdk/src/jdk.management/unix/native/libmanagement_ext/ |
H A D | OperatingSystemImpl.c | 193 psinfo_t psinfo; local 199 fd = open64("/proc/self/psinfo", O_RDONLY, 0); 201 throw_internal_error(env, "Unable to open /proc/self/psinfo"); 205 addr = (char *)&psinfo; 211 throw_internal_error(env, "Unable to read /proc/self/psinfo"); 221 return (jlong) psinfo.pr_size * 1024;
|
/openjdk10/hotspot/src/os/solaris/vm/ |
H A D | perfMemory_solaris.cpp | 624 snprintf(psinfo_name, PATH_MAX, "/proc/%d/psinfo", vmid); 631 psinfo_t psinfo; local 632 char* addr = (char*)&psinfo; 649 char* user_name = get_user_name(psinfo.pr_euid); 656 // In this case, the psinfo file for the process id existed, 663 // exist or if the psinfo file doesn't exit. If the psinfo file
|
Completed in 101 milliseconds