1ctr(8)() ctr(8)()
2
3
4
5 ctr is an unsupported debug and administrative client for interacting
6 with the containerd daemon. Because it is unsupported, the commands,
7 options, and operations are not guaranteed to be backward compatible or
8 stable from release to release of the containerd project.
9
10
11
12
13
14
16 ctr
17
18
19
21 ctr
22
23
24 [--address|-a]=[value]
25 [--connect-timeout]=[value]
26 [--debug]
27 [--namespace|-n]=[value]
28 [--timeout]=[value]
29
30
31
32 Usage:
33
34
35 ctr [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
36
37
38
39
41 --address, -a="": address for containerd's GRPC server (default:
42 /run/containerd/containerd.sock)
43
44
45 --connect-timeout="": timeout for connecting to containerd (default:
46 0s)
47
48
49 --debug: enable debug output in logs
50
51
52 --namespace, -n="": namespace to use with commands (default: default)
53
54
55 --timeout="": total timeout for ctr commands (default: 0s)
56
57
58
61 provides information about containerd plugins
62
63
64 list, ls
65 lists containerd plugins
66
67
68 --detailed, -d: print detailed information about each plugin
69
70
71 --quiet, -q: print only the plugin ids
72
73
75 print the client and server versions
76
77
79 manage containers
80
81
82 create
83 create container
84
85
86 --allow-new-privs: turn off OCI spec's NoNewPrivileges feature flag
87
88
89 --apparmor-default-profile="": enable AppArmor with the default profile
90 with the specified name, e.g. "cri-containerd.apparmor.d"
91
92
93 --apparmor-profile="": enable AppArmor with an existing custom profile
94
95
96 --cap-add="": add Linux capabilities (Set capabilities with 'CAP_' pre‐
97 fix)
98
99
100 --cap-drop="": drop Linux capabilities (Set capabilities with 'CAP_'
101 prefix)
102
103
104 --config, -c="": path to the runtime-specific spec config file
105
106
107 --cpu-period="": Limit CPU CFS period (default: 0)
108
109
110 --cpu-quota="": Limit CPU CFS quota (default: -1)
111
112
113 --cwd="": specify the working directory of the process
114
115
116 --device="": file path to a device to add to the container; or a path
117 to a directory tree of devices to add to the container
118
119
120 --env="": specify additional container environment variables (e.g.
121 FOO=bar)
122
123
124 --env-file="": specify additional container environment variables in a
125 file(e.g. FOO=bar, one per line)
126
127
128 --gpus="": add gpus to the container
129
130
131 --label="": specify additional labels (e.g. foo=bar)
132
133
134 --memory-limit="": memory limit (in bytes) for the container (default:
135 0)
136
137
138 --mount="": specify additional container mount (e.g.
139 type=bind,src=/tmp,dst=/host,options=rbind:ro)
140
141
142 --net-host: enable host networking for the container
143
144
145 --no-pivot: disable use of pivot-root (linux only)
146
147
148 --pid-file="": file path to write the task's pid
149
150
151 --privileged: run privileged container
152
153
154 --rdt-class="": name of the RDT class to associate the container with.
155 Specifies a Class of Service (CLOS) for cache and memory bandwidth man‐
156 agement.
157
158
159 --read-only: set the containers filesystem as readonly
160
161
162 --rootfs: use custom rootfs that is not managed by containerd snapshot‐
163 ter
164
165
166 --rootfs-propagation="": set the propagation of the container rootfs
167
168
169 --runtime="": runtime name (default: io.containerd.runc.v2)
170
171
172 --runtime-config-path="": optional runtime config path
173
174
175 --seccomp: enable the default seccomp profile
176
177
178 --seccomp-profile="": file path to custom seccomp profile. seccomp must
179 be set to true, before using seccomp-profile
180
181
182 --snapshotter="": snapshotter name. Empty value stands for the default
183 value.
184
185
186 --snapshotter-label="": labels added to the new snapshot for this con‐
187 tainer.
188
189
190 --tty, -t: allocate a TTY for the container
191
192
193 --with-ns="": specify existing Linux namespaces to join at container
194 runtime (format ':')
195
196
197 delete, del, remove, rm
198 delete one or more existing containers
199
200
201 --keep-snapshot: do not clean up snapshot with container
202
203
204 info
205 get info about a container
206
207
208 --spec: only display the spec
209
210
211 list, ls
212 list containers
213
214
215 --quiet, -q: print only the container id
216
217
218 label
219 set and clear labels for a container
220
221
222 checkpoint
223 checkpoint a container
224
225
226 --image: include the image in the checkpoint
227
228
229 --rw: include the rw layer in the checkpoint
230
231
232 --task: checkpoint container task
233
234
235 restore
236 restore a container from checkpoint
237
238
239 --live: restore the runtime and memory data from the checkpoint
240
241
242 --rw: restore the rw layer from the checkpoint
243
244
246 manage content
247
248
249 active
250 display active transfers
251
252
253 --root="": path to content store root (default: /tmp/content)
254
255
256 --timeout, -t="": total timeout for fetch (default: 0s)
257
258
259 delete, del, remove, rm
260 permanently delete one or more blobs
261
262
263 edit
264 edit a blob and return a new digest
265
266
267 --editor="": select editor (vim, emacs, etc.)
268
269
270 --validate="": validate the result against a format (json, mediatype,
271 etc.)
272
273
274 fetch
275 fetch all content for an image into containerd
276
277
278 --all-metadata: Pull metadata for all platforms
279
280
281 --all-platforms: pull content from all platforms
282
283
284 --hosts-dir="": Custom hosts configuration directory
285
286
287 --http-dump: dump all HTTP request/responses when interacting with con‐
288 tainer registry
289
290
291 --http-trace: enable HTTP tracing for registry interactions
292
293
294 --label="": labels to attach to the image
295
296
297 --metadata-only: Pull all metadata including manifests and configs
298
299
300 --plain-http: allow connections using plain HTTP
301
302
303 --platform="": Pull content from a specific platform
304
305
306 --refresh="": refresh token for authorization server
307
308
309 --skip-verify, -k: skip SSL certificate validation
310
311
312 --tlscacert="": path to TLS root CA
313
314
315 --tlscert="": path to TLS client certificate
316
317
318 --tlskey="": path to TLS client key
319
320
321 --user, -u="": user[:password] Registry user and password
322
323
324 fetch-object
325 retrieve objects from a remote
326
327
328 --hosts-dir="": Custom hosts configuration directory
329
330
331 --http-dump: dump all HTTP request/responses when interacting with con‐
332 tainer registry
333
334
335 --http-trace: enable HTTP tracing for registry interactions
336
337
338 --plain-http: allow connections using plain HTTP
339
340
341 --refresh="": refresh token for authorization server
342
343
344 --skip-verify, -k: skip SSL certificate validation
345
346
347 --tlscacert="": path to TLS root CA
348
349
350 --tlscert="": path to TLS client certificate
351
352
353 --tlskey="": path to TLS client key
354
355
356 --user, -u="": user[:password] Registry user and password
357
358
359 get
360 get the data for an object
361
362
363 ingest
364 accept content into the store
365
366
367 --expected-digest="": verify content against expected digest
368
369
370 --expected-size="": validate against provided size (default: 0)
371
372
373 list, ls
374 list all blobs in the store
375
376
377 --quiet, -q: print only the blob digest
378
379
380 push-object
381 push an object to a remote
382
383
384 --hosts-dir="": Custom hosts configuration directory
385
386
387 --http-dump: dump all HTTP request/responses when interacting with con‐
388 tainer registry
389
390
391 --http-trace: enable HTTP tracing for registry interactions
392
393
394 --plain-http: allow connections using plain HTTP
395
396
397 --refresh="": refresh token for authorization server
398
399
400 --skip-verify, -k: skip SSL certificate validation
401
402
403 --tlscacert="": path to TLS root CA
404
405
406 --tlscert="": path to TLS client certificate
407
408
409 --tlskey="": path to TLS client key
410
411
412 --user, -u="": user[:password] Registry user and password
413
414
415 label
416 add labels to content
417
418
419 prune
420 prunes content from the content store
421
422
423 references
424 prunes preference labels from the content store (layers only by de‐
425 fault)
426
427
428 --async: allow garbage collection to cleanup asynchronously
429
430
431 --dry: just show updates without applying (enables debug logging)
432
433
435 display containerd events
436
437
439 manage images
440
441
442 check
443 check existing images to ensure all content is available locally
444
445
446 --quiet, -q: print only the ready image refs (fully downloaded and un‐
447 packed)
448
449
450 --snapshotter="": snapshotter name. Empty value stands for the default
451 value.
452
453
454 export
455 export images
456
457
458 --all-platforms: exports content from all platforms
459
460
461 --platform="": Pull content from a specific platform
462
463
464 --skip-manifest-json: do not add Docker compatible manifest.json to ar‐
465 chive
466
467
468 --skip-non-distributable: do not add non-distributable blobs such as
469 Windows layers to archive
470
471
472 import
473 import images
474
475
476 --all-platforms: imports content for all platforms, false by default
477
478
479 --base-name="": base image name for added images, when provided only
480 images with this name prefix are imported
481
482
483 --compress-blobs: compress uncompressed blobs when creating manifest
484 (Docker format only)
485
486
487 --digests: whether to create digest images (default: false)
488
489
490 --index-name="": image name to keep index as, by default index is dis‐
491 carded
492
493
494 --no-unpack: skip unpacking the images, false by default
495
496
497 --platform="": imports content for specific platform
498
499
500 --skip-digest-for-named: skip applying --digests option to images named
501 in the importing tar (use it in conjunction with --digests)
502
503
504 --snapshotter="": snapshotter name. Empty value stands for the default
505 value.
506
507
508 list, ls
509 list images known to containerd
510
511
512 --quiet, -q: print only the image refs
513
514
515 mount
516 mount an image to a target path
517
518
519 --hosts-dir="": Custom hosts configuration directory
520
521
522 --http-dump: dump all HTTP request/responses when interacting with con‐
523 tainer registry
524
525
526 --http-trace: enable HTTP tracing for registry interactions
527
528
529 --label="": labels to attach to the image
530
531
532 --plain-http: allow connections using plain HTTP
533
534
535 --platform="": Mount the image for the specified platform (default:
536 linux/amd64)
537
538
539 --refresh="": refresh token for authorization server
540
541
542 --rw: Enable write support on the mount
543
544
545 --skip-verify, -k: skip SSL certificate validation
546
547
548 --snapshotter="": snapshotter name. Empty value stands for the default
549 value.
550
551
552 --tlscacert="": path to TLS root CA
553
554
555 --tlscert="": path to TLS client certificate
556
557
558 --tlskey="": path to TLS client key
559
560
561 --user, -u="": user[:password] Registry user and password
562
563
564 unmount
565 unmount the image from the target
566
567
568 --hosts-dir="": Custom hosts configuration directory
569
570
571 --http-dump: dump all HTTP request/responses when interacting with con‐
572 tainer registry
573
574
575 --http-trace: enable HTTP tracing for registry interactions
576
577
578 --label="": labels to attach to the image
579
580
581 --plain-http: allow connections using plain HTTP
582
583
584 --refresh="": refresh token for authorization server
585
586
587 --rm: remove the snapshot after a successful unmount
588
589
590 --skip-verify, -k: skip SSL certificate validation
591
592
593 --snapshotter="": snapshotter name. Empty value stands for the default
594 value.
595
596
597 --tlscacert="": path to TLS root CA
598
599
600 --tlscert="": path to TLS client certificate
601
602
603 --tlskey="": path to TLS client key
604
605
606 --user, -u="": user[:password] Registry user and password
607
608
609 pull
610 pull an image from a remote
611
612
613 --all-metadata: Pull metadata for all platforms
614
615
616 --all-platforms: pull content and metadata from all platforms
617
618
619 --hosts-dir="": Custom hosts configuration directory
620
621
622 --http-dump: dump all HTTP request/responses when interacting with con‐
623 tainer registry
624
625
626 --http-trace: enable HTTP tracing for registry interactions
627
628
629 --label="": labels to attach to the image
630
631
632 --max-concurrent-downloads="": Set the max concurrent downloads for
633 each pull (default: 0)
634
635
636 --plain-http: allow connections using plain HTTP
637
638
639 --platform="": Pull content from a specific platform
640
641
642 --print-chainid: Print the resulting image's chain ID
643
644
645 --refresh="": refresh token for authorization server
646
647
648 --skip-verify, -k: skip SSL certificate validation
649
650
651 --snapshotter="": snapshotter name. Empty value stands for the default
652 value.
653
654
655 --tlscacert="": path to TLS root CA
656
657
658 --tlscert="": path to TLS client certificate
659
660
661 --tlskey="": path to TLS client key
662
663
664 --user, -u="": user[:password] Registry user and password
665
666
667 push
668 push an image to a remote
669
670
671 --allow-non-distributable-blobs: Allow pushing blobs that are marked as
672 non-distributable
673
674
675 --hosts-dir="": Custom hosts configuration directory
676
677
678 --http-dump: dump all HTTP request/responses when interacting with con‐
679 tainer registry
680
681
682 --http-trace: enable HTTP tracing for registry interactions
683
684
685 --manifest="": digest of manifest
686
687
688 --manifest-type="": media type of manifest digest (default: applica‐
689 tion/vnd.oci.image.manifest.v1+json)
690
691
692 --max-concurrent-uploaded-layers="": Set the max concurrent uploaded
693 layers for each push (default: 0)
694
695
696 --plain-http: allow connections using plain HTTP
697
698
699 --platform="": push content from a specific platform
700
701
702 --refresh="": refresh token for authorization server
703
704
705 --skip-verify, -k: skip SSL certificate validation
706
707
708 --tlscacert="": path to TLS root CA
709
710
711 --tlscert="": path to TLS client certificate
712
713
714 --tlskey="": path to TLS client key
715
716
717 --user, -u="": user[:password] Registry user and password
718
719
720 delete, del, remove, rm
721 remove one or more images by reference
722
723
724 --sync: Synchronously remove image and all associated resources
725
726
727 tag
728 tag an image
729
730
731 --force: force target_ref to be created, regardless if it already ex‐
732 ists
733
734
735 label
736 set and clear labels for an image
737
738
739 --replace-all, -r: replace all labels
740
741
742 convert
743 convert an image
744
745
746 --all-platforms: exports content from all platforms
747
748
749 --oci: convert Docker media types to OCI media types
750
751
752 --platform="": Pull content from a specific platform
753
754
755 --uncompress: convert tar.gz layers to uncompressed tar layers
756
757
759 manage leases
760
761
762 list, ls
763 list all active leases
764
765
766 --quiet, -q: print only the blob digest
767
768
769 create
770 create lease
771
772
773 --expires, -x="": expiration of lease (0 value will not expire) (de‐
774 fault: 24h0m0s)
775
776
777 --id="": set the id for the lease, will be generated by default
778
779
780 delete, del, remove, rm
781 delete a lease
782
783
784 --sync: Synchronously remove leases and all unreferenced resources
785
786
788 manage namespaces
789
790
791 create, c
792 create a new namespace
793
794
795 list, ls
796 list namespaces
797
798
799 --quiet, -q: print only the namespace name
800
801
802 remove, rm
803 remove one or more namespaces
804
805
806 --cgroup, -c: delete the namespace's cgroup
807
808
809 label
810 set and clear labels for a namespace
811
812
814 provide golang pprof outputs for containerd
815
816
817 --debug-socket, -d="": socket path for containerd's debug server (de‐
818 fault: /run/containerd/debug.sock)
819
820
821 block
822 goroutine blocking profile
823
824
825 goroutines
826 dump goroutine stack dump
827
828
829 heap
830 dump heap profile
831
832
833 profile
834 CPU profile
835
836
837 --seconds, -s="": duration for collection (seconds) (default: 30s)
838
839
840 threadcreate
841 goroutine thread creating profile
842
843
844 trace
845 collect execution trace
846
847
848 --seconds, -s="": trace time (seconds) (default: 5s)
849
850
852 run a container
853
854
855 --allow-new-privs: turn off OCI spec's NoNewPrivileges feature flag
856
857
858 --apparmor-default-profile="": enable AppArmor with the default profile
859 with the specified name, e.g. "cri-containerd.apparmor.d"
860
861
862 --apparmor-profile="": enable AppArmor with an existing custom profile
863
864
865 --cap-add="": add Linux capabilities (Set capabilities with 'CAP_' pre‐
866 fix)
867
868
869 --cap-drop="": drop Linux capabilities (Set capabilities with 'CAP_'
870 prefix)
871
872
873 --cgroup="": cgroup path (To disable use of cgroup, set to "" explic‐
874 itly)
875
876
877 --cni: enable cni networking for the container
878
879
880 --config, -c="": path to the runtime-specific spec config file
881
882
883 --cpu-period="": Limit CPU CFS period (default: 0)
884
885
886 --cpu-quota="": Limit CPU CFS quota (default: -1)
887
888
889 --cpu-shares="": set the cpu shares (default: 1024)
890
891
892 --cpus="": set the CFS cpu quota (default: 0.000000)
893
894
895 --cwd="": specify the working directory of the process
896
897
898 --detach, -d: detach from the task after it has started execution
899
900
901 --device="": file path to a device to add to the container; or a path
902 to a directory tree of devices to add to the container
903
904
905 --env="": specify additional container environment variables (e.g.
906 FOO=bar)
907
908
909 --env-file="": specify additional container environment variables in a
910 file(e.g. FOO=bar, one per line)
911
912
913 --fifo-dir="": directory used for storing IO FIFOs
914
915
916 --gidmap="": run inside a user namespace with the specified GID mapping
917 range; specified with the format container-gid:host-gid:length
918
919
920 --gpus="": add gpus to the container
921
922
923 --label="": specify additional labels (e.g. foo=bar)
924
925
926 --log-uri="": log uri
927
928
929 --memory-limit="": memory limit (in bytes) for the container (default:
930 0)
931
932
933 --mount="": specify additional container mount (e.g.
934 type=bind,src=/tmp,dst=/host,options=rbind:ro)
935
936
937 --net-host: enable host networking for the container
938
939
940 --no-pivot: disable use of pivot-root (linux only)
941
942
943 --null-io: send all IO to /dev/null
944
945
946 --pid-file="": file path to write the task's pid
947
948
949 --platform="": run image for specific platform
950
951
952 --privileged: run privileged container
953
954
955 --rdt-class="": name of the RDT class to associate the container with.
956 Specifies a Class of Service (CLOS) for cache and memory bandwidth man‐
957 agement.
958
959
960 --read-only: set the containers filesystem as readonly
961
962
963 --remap-labels: provide the user namespace ID remapping to the snap‐
964 shotter via label options; requires snapshotter support
965
966
967 --rm: remove the container after running
968
969
970 --rootfs: use custom rootfs that is not managed by containerd snapshot‐
971 ter
972
973
974 --rootfs-propagation="": set the propagation of the container rootfs
975
976
977 --runc-binary="": specify runc-compatible binary
978
979
980 --runc-root="": specify runc-compatible root
981
982
983 --runc-systemd-cgroup: start runc with systemd cgroup manager
984
985
986 --runtime="": runtime name (default: io.containerd.runc.v2)
987
988
989 --runtime-config-path="": optional runtime config path
990
991
992 --seccomp: enable the default seccomp profile
993
994
995 --seccomp-profile="": file path to custom seccomp profile. seccomp must
996 be set to true, before using seccomp-profile
997
998
999 --snapshotter="": snapshotter name. Empty value stands for the default
1000 value.
1001
1002
1003 --snapshotter-label="": labels added to the new snapshot for this con‐
1004 tainer.
1005
1006
1007 --tty, -t: allocate a TTY for the container
1008
1009
1010 --uidmap="": run inside a user namespace with the specified UID mapping
1011 range; specified with the format container-uid:host-uid:length
1012
1013
1014 --with-ns="": specify existing Linux namespaces to join at container
1015 runtime (format ':')
1016
1017
1019 manage snapshots
1020
1021
1022 --snapshotter="": snapshotter name. Empty value stands for the default
1023 value.
1024
1025
1026 commit
1027 commit an active snapshot into the provided name
1028
1029
1030 diff
1031 get the diff of two snapshots. the default second snapshot is the first
1032 snapshot's parent.
1033
1034
1035 --keep: keep diff content. up to creator to delete it.
1036
1037
1038 --label="": labels to attach to the image
1039
1040
1041 --media-type="": media type to use for creating diff (default: applica‐
1042 tion/vnd.oci.image.layer.v1.tar+gzip)
1043
1044
1045 --ref="": content upload reference to use
1046
1047
1048 info
1049 get info about a snapshot
1050
1051
1052 list, ls
1053 list snapshots
1054
1055
1056 mounts, m, mount
1057 mount gets mount commands for the snapshots
1058
1059
1060 prepare
1061 prepare a snapshot from a committed snapshot
1062
1063
1064 --mounts: Print out snapshot mounts as JSON
1065
1066
1067 --target, -t="": mount target path, will print mount, if provided
1068
1069
1070 delete, del, remove, rm
1071 remove snapshots
1072
1073
1074 label
1075 add labels to content
1076
1077
1078 tree
1079 display tree view of snapshot branches
1080
1081
1082 unpack
1083 unpack applies layers from a manifest to a snapshot
1084
1085
1086 --snapshotter="": snapshotter name. Empty value stands for the default
1087 value.
1088
1089
1090 usage
1091 usage snapshots
1092
1093
1094 -b: display size in bytes
1095
1096
1097 view
1098 create a read-only snapshot from a committed snapshot
1099
1100
1101 --mounts: Print out snapshot mounts as JSON
1102
1103
1104 --target, -t="": mount target path, will print mount, if provided
1105
1106
1108 manage tasks
1109
1110
1111 attach
1112 attach to the IO of a running container
1113
1114
1115 checkpoint
1116 checkpoint a container
1117
1118
1119 --exit: stop the container after the checkpoint
1120
1121
1122 --image-path="": path to criu image files
1123
1124
1125 --work-path="": path to criu work files and logs
1126
1127
1128 delete, del, remove, rm
1129 delete one or more tasks
1130
1131
1132 --exec-id="": process ID to kill
1133
1134
1135 --force, -f: force delete task process
1136
1137
1138 exec
1139 execute additional processes in an existing container
1140
1141
1142 --cwd="": working directory of the new process
1143
1144
1145 --detach, -d: detach from the task after it has started execution
1146
1147
1148 --exec-id="": exec specific id for the process
1149
1150
1151 --fifo-dir="": directory used for storing IO FIFOs
1152
1153
1154 --log-uri="": log uri for custom shim logging
1155
1156
1157 --tty, -t: allocate a TTY for the container
1158
1159
1160 --user="": user id or name
1161
1162
1163 list, ls
1164 list tasks
1165
1166
1167 --quiet, -q: print only the task id
1168
1169
1170 kill
1171 signal a container (default: SIGTERM)
1172
1173
1174 --all, -a: send signal to all processes inside the container
1175
1176
1177 --exec-id="": process ID to kill
1178
1179
1180 --signal, -s="": signal to send to the container
1181
1182
1183 pause
1184 pause an existing container
1185
1186
1187 ps
1188 list processes for container
1189
1190
1191 resume
1192 resume a paused container
1193
1194
1195 start
1196 start a container that has been created
1197
1198
1199 --detach, -d: detach from the task after it has started execution
1200
1201
1202 --fifo-dir="": directory used for storing IO FIFOs
1203
1204
1205 --log-uri="": log uri
1206
1207
1208 --null-io: send all IO to /dev/null
1209
1210
1211 --pid-file="": file path to write the task's pid
1212
1213
1214 metrics, metric
1215 get a single data point of metrics for a task with the built-in Linux
1216 runtime
1217
1218
1219 --format="": "table" or "json" (default: table)
1220
1221
1223 install a new package
1224
1225
1226 --libs, -l: install libs from the image
1227
1228
1229 --path="": set an optional install path other than the managed opt di‐
1230 rectory
1231
1232
1233 --replace, -r: replace any binaries or libs in the opt directory
1234
1235
1237 OCI tools
1238
1239
1240 spec
1241 see the output of the default OCI spec
1242
1243
1245 interact with a shim directly
1246
1247
1248 --id="": container id
1249
1250
1251 delete
1252 delete a container with a task
1253
1254
1255 exec
1256 exec a new process in the task's container
1257
1258
1259 --attach, -a: stay attached to the container and open the fifos
1260
1261
1262 --cwd="": current working directory
1263
1264
1265 --env, -e="": add environment vars
1266
1267
1268 --spec="": runtime spec
1269
1270
1271 --stderr="": specify the path to the stderr fifo
1272
1273
1274 --stdin="": specify the path to the stdin fifo
1275
1276
1277 --stdout="": specify the path to the stdout fifo
1278
1279
1280 --tty, -t: enable tty support
1281
1282
1283 start
1284 start a container with a task
1285
1286
1287 state
1288 get the state of all the processes of the task
1289
1290
1291
1292 ctr(8)()