Searched defs:procfile (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | rcapd_stat.c | 44 char procfile[20]; local 56 (void) snprintf(procfile, 20, "/proc/%d/psinfo", (int)hdr.rs_pid); 57 if (stat(procfile, &st) == 0)
|
/illumos-gate/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) function
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 187 char procfile[32]; local 218 (void) sprintf(procfile, "/proc/%d/psinfo", (int)getpid()); 219 if ((procfd = open(procfile, O_RDONLY)) >= 0) {
|
/illumos-gate/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 148 char procfile[20]; local 174 (void) snprintf(procfile, 20, "/proc/%lld/psinfo", pid); 175 if ((proc_fd = open(procfile, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 239 char procfile[MAX_PROCFS_PATH]; local 251 (void) snprintf(procfile, MAX_PROCFS_PATH, 253 if ((fd = open(procfile, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 569 char procfile[MAX_PROCFS_PATH]; local 581 (void) snprintf(procfile, MAX_PROCFS_PATH, 583 if ((fd = open(procfile, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_lock.c | 1398 char procfile[MAXPATHLEN]; local 1434 (void) sprintf(procfile, "/proc/%ld/as", pid); 1435 if ((fd = open(procfile, O_RDONLY)) == -1) { 1437 procfile, strerror(errno));
|
H A D | rcm_script.c | 742 char procfile[80]; local 753 (void) snprintf(procfile, 80, "/proc/%ld/psinfo", 755 if ((fd = open(procfile, O_RDONLY)) != -1 &&
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 851 char procfile[MAX_PROCFS_PATH]; local 853 (void) snprintf(procfile, MAX_PROCFS_PATH, 855 if ((*fd = fd_open(procfile, O_RDONLY, *fd)) == NULL)
|
Completed in 179 milliseconds