1PROCENV(1) General Commands Manual PROCENV(1)
2
3
4
6 procenv - display process environment details
7
9 procenv [OPTION]
10
12 Display details of the process environment in a parseable format.
13
15 Options shown with a bracketed asterisk '(*)' are non-display options
16 and must precede any other (display) options.
17
18
19 -a, --meta
20 Display meta details.
21
22 -A, --arguments
23 Display program arguments.
24
25 -b, --libs
26 Display details of linked libraries. See dl_iterate_phdr(3).
27
28 -B, --libc
29 Display standard library details. See feature_test_macros(7)
30 (Linux).
31
32 -c, --cgroups
33 Display cgroup details (Linux only). See proc(5).
34
35 -C, --cpu
36 Display CPU and scheduler details. See kvm_getprocs(3) (BSD),
37 pthread_getaffinity_np(3), sched_getcpu(3) (Linux).
38
39 --crumb-separator=str (*)
40 Specify string str as alternate delimiter for crumb format out‐
41 put (default=':').
42
43 -d, --compiler
44 Display compiler details. See cpp(1), cc(1) and fea‐
45 ture_test_macros(7) (Linux).
46
47 -e, --environment
48 Display environment variables. See environ(7).
49
50 -E, --semaphores
51 Display semaphore details (not queryable on BSD). See sem‐
52 ctl(2).
53
54 --exec (*)
55 Treat non-option arguments as program to execute after running
56 procenv. See exec(3).
57
58 -f, --fds
59 Display file descriptor details. Under FreeBSD, file descriptor
60 capabilities will also be displayed assuming the kernel has Cap‐
61 sicum support. See cap_getmode(2) (BSD), cap_rights_get(2)
62 (BSD), cap_rights_is_set(3) (BSD), fcntl(2), isatty(5).
63
64 -F, --namespaces
65 Display namespace details (Linux only). See proc(5).
66
67 --file=FILE (*)
68 Send output to file FILE (implies --output=file).
69
70 --file-append (*)
71 If --file is specified, append to it rather than overwriting it.
72
73 --format=FORMAT (*)
74 Specify output format. FORMAT may be one of:
75
76 • crumb ("breadcrumbs").
77
78 • json (JavaScript Object Notation).
79
80 • text (plain ASCII text) [default].
81
82 • xml (Extensible Markup Language).
83
84 -g, --sizeof
85 Display sizes of data types.
86
87 -h, --help
88 Th