Global System Commands
Syntax
show process true
networkstat
list
exit
currentdir
remove
clear
ping
show file
remotecopy
show process
reboot
shutdown
date
traceroute
periodic
tail
changepasswd
Description
Displays general system information.
Options
show process true |
Display the system summary and list of processes. |
networkstat |
Display network-related and diagnostic information. |
list |
Display the files in a directory. |
exit |
Exit the CLI session. |
currentdir |
Display the full path name of the current directory from the root folder. |
remove |
Remove a specific file within a directory. Run this command only for the files located in /home/cliadmin and /var/log folders. |
clear |
Clear the terminal screen. |
ping |
Verify the network connection and troubleshoot connectivity issues. |
show file |
Display the contents of a specific file. To view the list of "<resource name>", use "<command>". |
remotecopy |
Copy files between hosts in a network. Run this command to copy files from a local host to a remote host and vice versa. Enter the command in this format: scp [options] [[user@]host1:]source_file_or_directory [[user@]host2:]destination. |
show process |
Display the status of active processes. |
reboot |
Reboot the VM. |
shutdown |
Shut down the VM. |
date |
Show the system date and time zone. |
traceroute |
Trace the path packets taken to the destination using tracepath. |
periodic |
Run a command periodically. |
tail |
Tail a file with a specific number of lines or Stream data. |
changepasswd |
Change the password of cliadmin user. Enter the password that meets the following requirements:
|
Required Privilege Level
CLI Administrator
Sample Output
networkstat
$ networkstat Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 10.157.74.156:2385 0.0.0.0:* LISTEN 1468/etcd tcp 0 0 10.157.74.156:2379 0.0.0.0:* LISTEN 8433/etcd tcp 0 0 10.157.74.156:2380 0.0.0.0:* LISTEN 8433/etcd tcp 0 0 10.157.74.156:7946 0.0.0.0:* LISTEN 24030/speaker tcp 0 0 10.157.74.156:7472 0.0.0.0:* LISTEN 24030/speaker tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 2940/zot tcp 0 0 0.0.0.0:6443 0.0.0.0:* LISTEN 8525/kube-apiserver tcp 0 0 0.0.0.0:8033 0.0.0.0:* LISTEN 1128/apache2 tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 924/systemd-resolve tcp 0 0 0.0.0.0:7473 0.0.0.0:* LISTEN 24313/frr-metrics tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1507/sshd: /usr/sbi .....
show
process
$ show process PID TTY STAT TIME COMMAND 2 ? S 0:00 [kthreadd] 3 ? I< 0:00 \_ [rcu_gp] 4 ? I< 0:00 \_ [rcu_par_gp] 5 ? I< 0:00 \_ [slub_flushwq] 6 ? I< 0:00 \_ [netns] 8 ? I< 0:00 \_ [kworker/0:0H-events_highpri] 10 ? I< 0:00 \_ [mm_percpu_wq] 11 ? S 0:00 \_ [rcu_tasks_rude_] 12 ? S 0:00 \_ [rcu_tasks_trace] 13 ? S 4:11 \_ [ksoftirqd/0] 14 ? I 9:57 \_ [rcu_sched] 15 ? S 0:02 \_ [migration/0] 16 ? S 0:00 \_ [idle_inject/0] 18 ? S 0:00 \_ [cpuhp/0] 19 ? S 0:00 \_ [cpuhp/1] 20 ? S 0:00 \_ [idle_inject/1] 21 ? S 0:03 \_ [migration/1] 22 ? S 3:48 \_ [ksoftirqd/1] .......
changepasswd
$ changepasswd New password:
Release Information
Command introduced in Juniper Security Director Release 24.4.1.