Sys Info-3.303.3300
Sys Info | |
|---|---|
Author: Jerry Chae
This plugin has ten functions to obtain local system/configuration related information and present it in the form of CSV. Additionally, [Get Process] function can be used as a verification operation to confirm any specific process is running or not.The functions are:
This plugin is based on a Python solution called psutil. You can find more detailed information about this solution from this link. https://psutil.readthedocs.io/en/latest/ |
Input (required)
Select one function from the pull down list of functions.
Input (optional – Get Process only)
Enter process name (partial is OK) to search. (this is case insensitive)
Output
Return Value (CSV)
Each function returns some unique set of information. It is listed as the CSV headers under each function as shown below
1. Get Process
pid | ppid | status | name | exe | memory_percent | cpu_percent | cwd | create_time | username |
2. CPU Percent
cpu1_percent | cpu2_percent | cpu3_percent | cpu4_percent | cpu5_percent | cpu6_percent | cpu7_percent | cpu8_percent | cpu_percent |
3. CPU Count
cpu_count |
|---|
4. Load Avg (this function is only for Linux)
last_1m_load | last_5m_load | last_15m_load |
5. Memory Info
total | available | percent | used | free |
6. Disk Info
device | mountpoint | fstype | opts | maxfile | maxpath | total | used | free | percent |
7. Network Stats
nic | bytes_sent | bytes_recv | packets_sent | packets_recv | errin | errout | dropin | dropout |
8. Network Conns
family | type | local_addr_ip | local_addr_port | remote_addr_ip | remote_addr_port | status | pid |
9. NIC Address
nic | family | address | netmask | broadcast | ptp |
10. NIC Info
nic | isup | duplex | speed | mtu |
Important!
Using [Get Process] as a Verification operation for any of the process to be running or not.
See the parameter setting below.
As shown in example below, the [Get Process] function can be used as a verification operation when the Proc Name check box is checked and a specific process to look for is given --- in this example “Excel”. Please not that the Proc Name entry returns TRUE for a partial match and case insensitive.
Therefore, if you enter “chrome” at the Proc Name field, it will return TRUE for either chrome.exe and chromedriver.exe. To avoid mis-verification you must enter full process name like “chrome.exe” (case insensitive.)
Return Code can be used for the branching logic setup.
[0] means FOUND and successful
[1] means NOT FOUND.
[99] for any other failure case reply from the system.
How to set the parameters.
See example below.