Home
last modified time | relevance | path

Searched refs:pidstr (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/cmd/pbind/
H A Dpbind.c103 char pidstr[21]; in query_out() local
106 (void) snprintf(pidstr, 20, "%d", (int)pid); in query_out()
109 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid); in query_out()
115 proclwp, pidstr); in query_out()
118 proclwp, pidstr, cpu); in query_out()
155 char pidstr[21]; in bind_out() local
158 (void) snprintf(pidstr, 20, "%d", (int)pid); in bind_out()
161 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid); in bind_out()
168 "now not bound\n"), proclwp, pidstr); in bind_out()
171 "now %d\n"), proclwp, pidstr, new); in bind_out()
[all …]
/titanic_44/usr/src/cmd/psrset/
H A Dpsrset.c201 char pidstr[21]; in query_out() local
204 (void) snprintf(pidstr, 20, "%d", pid); in query_out()
207 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid); in query_out()
213 proclwp, pidstr); in query_out()
215 (void) printf(gettext("%s id %s: %d\n"), proclwp, pidstr, pset); in query_out()
259 char pidstr[21]; in bind_out() local
262 (void) snprintf(pidstr, 20, "%d", pid); in bind_out()
265 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid); in bind_out()
272 "now not bound\n"), proclwp, pidstr); in bind_out()
275 "now %d\n"), proclwp, pidstr, new); in bind_out()
[all …]
/titanic_44/usr/src/lib/libproc/common/
H A Dproc_arg.c431 char pidstr[PATH_MAX]; in proc_walk() local
455 (void) snprintf(pidstr, sizeof (pidstr), in proc_walk()
457 fd = open(pidstr, O_RDONLY); in proc_walk()
472 (void) snprintf(pidstr, sizeof (pidstr), in proc_walk()
474 fd = open(pidstr, O_RDONLY); in proc_walk()
/titanic_44/usr/src/cmd/power/
H A Dconf.c224 char pidstr[16]; in get_powerd_pid() local
229 bzero(pidstr, sizeof (pidstr)); in get_powerd_pid()
230 if (read(fd, pidstr, sizeof (pidstr)) > 0) { in get_powerd_pid()
231 powerd_pid = atoi(pidstr); in get_powerd_pid()
/titanic_44/usr/src/cmd/prstat/
H A Dprstat.c849 read_procfile(fd_t **fd, char *pidstr, char *file, void *buf, size_t bufsize) in read_procfile() argument
854 "/proc/%s/%s", pidstr, file); in read_procfile()
899 char *pidstr; in prstat_scandir() local
923 pidstr = direntp->d_name; in prstat_scandir()
924 if (pidstr[0] == '.') /* skip "." and ".." */ in prstat_scandir()
926 pid = atoi(pidstr); in prstat_scandir()
933 if (read_procfile(&fds->fds_psinfo, pidstr, in prstat_scandir()
949 if (read_procfile(&fds->fds_lpsinfo, pidstr, "lpsinfo", in prstat_scandir()
1023 if (read_procfile(&fds->fds_lusage, pidstr, "lusage", in prstat_scandir()
1056 if (read_procfile(&fds->fds_usage, pidstr, "usage", in prstat_scandir()
/titanic_44/usr/src/lib/libpkg/common/
H A Dpkgserv.c401 const char *pidstr = mode + sizeof (MODE_TIMEOUT) - 1; in pkgparsemode() local
402 if (pidstr[0] != '\0') { in pkgparsemode()
403 master_pid = atoi(pidstr); in pkgparsemode()
/titanic_44/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c931 char *shell, *pidstr, *agentsocket = NULL; local
1007 pidstr = getenv(SSH_AGENTPID_ENV_NAME);
1008 if (pidstr == NULL) {
1014 pid = atoi(pidstr);
/titanic_44/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java793 String pidstr = g.getOptarg(); in main() local
796 pid = Integer.parseInt(pidstr); in main()
798 System.err.println("invalid pid: " + pidstr); in main()