-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
1,064 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adding support for pulling disk information, usage both atomic and process wise. All measure are implemented for Linux. For QNX only disk info is implemneted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
#!/bin/bash | ||
nicinfo_output='eq0:\n | ||
Ethernet Controller\n | ||
\n | ||
Physical Node ID ........................... 000000 000000\n | ||
Current Physical Node ID ................... 000001 000001\n | ||
Current Operation Rate ..................... 2.50 Mb/s full-duplex\n | ||
Active Interface Type ...................... SMI\n | ||
Active PHY address ....................... 0\n | ||
Maximum Transmittable data Unit ............ 0\n | ||
Maximum Receivable data Unit ............... 0\n | ||
Promiscuous Mode ........................... Off\n | ||
Multicast Support .......................... Enabled\n | ||
\n | ||
Packets Transmitted OK ..................... 9225590\n | ||
Bytes Transmitted OK ....................... 1366702382\n | ||
Broadcast Packets Transmitted OK ........... 19\n | ||
Multicast Packets Transmitted OK ........... 8671\n | ||
\n | ||
Packets Received OK ........................ 10786584\n | ||
Bytes Received OK .......................... 1198846300\n | ||
Broadcast Packets Received OK .............. 7634\n | ||
Multicast Packets Received OK .............. 80894\n | ||
\n | ||
Received packets with CRC errors ........... 0\n | ||
Short packets .............................. 0\n | ||
\n | ||
vlan0:' | ||
echo -e $nicinfo_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.