Searched refs:procfile (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/cmd/rcap/common/ |
H A D | rcapd_stat.c | 44 char procfile[20]; in stat_get_rcapd_pid() local 56 (void) snprintf(procfile, 20, "/proc/%d/psinfo", (int)hdr.rs_pid); in stat_get_rcapd_pid() 57 if (stat(procfile, &st) == 0) in stat_get_rcapd_pid()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 187 char procfile[32]; in vsyslog() local 219 (void) sprintf(procfile, "/proc/%d/psinfo", (int)getpid()); in vsyslog() 220 if ((procfd = open(procfile, O_RDONLY)) >= 0) { in vsyslog()
|
/titanic_50/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 148 char procfile[20]; in read_stats() local 174 (void) snprintf(procfile, 20, "/proc/%lld/psinfo", pid); in read_stats() 175 if ((proc_fd = open(procfile, O_RDONLY)) < 0) { in read_stats()
|
/titanic_50/usr/src/cmd/pbind/ |
H A D | pbind.c | 239 char procfile[MAX_PROCFS_PATH]; in do_lwps() local 251 (void) snprintf(procfile, MAX_PROCFS_PATH, in do_lwps() 253 if ((fd = open(procfile, O_RDONLY)) < 0) { in do_lwps()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 49 static void procfile __P((char *, char *)), flushfilter __P((char *)); 122 procfile(argv[0], optarg); 251 static void procfile(name, file) in procfile() function
|
/titanic_50/usr/src/cmd/psrset/ |
H A D | psrset.c | 569 char procfile[MAX_PROCFS_PATH]; in do_lwps() local 581 (void) snprintf(procfile, MAX_PROCFS_PATH, in do_lwps() 583 if ((fd = open(procfile, O_RDONLY)) < 0) { in do_lwps()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_lock.c | 1398 char procfile[MAXPATHLEN]; in add_to_polling_list() local 1434 (void) sprintf(procfile, "/proc/%ld/as", pid); in add_to_polling_list() 1435 if ((fd = open(procfile, O_RDONLY)) == -1) { in add_to_polling_list() 1437 procfile, strerror(errno)); in add_to_polling_list()
|
H A D | rcm_script.c | 742 char procfile[80]; in script_ps_state_file_kill_pids() local 753 (void) snprintf(procfile, 80, "/proc/%ld/psinfo", in script_ps_state_file_kill_pids() 755 if ((fd = open(procfile, O_RDONLY)) != -1 && in script_ps_state_file_kill_pids()
|
/titanic_50/usr/src/cmd/prstat/ |
H A D | prstat.c | 851 char procfile[MAX_PROCFS_PATH]; in read_procfile() local 853 (void) snprintf(procfile, MAX_PROCFS_PATH, in read_procfile() 855 if ((*fd = fd_open(procfile, O_RDONLY, *fd)) == NULL) in read_procfile()
|