Skip to content

Commit

Permalink
Readme added
Browse files Browse the repository at this point in the history
  • Loading branch information
prasaanth2k committed Aug 14, 2024
1 parent cfdd6e5 commit ac5ae7f
Showing 1 changed file with 7 additions and 33 deletions.
40 changes: 7 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,14 @@ monisys -h or --help
```
![helpmessage](https://github.com/user-attachments/assets/94eec1ca-49ed-4fdd-bd73-01c7959152a9)

### Disply the running docker containers

```bash
monisys -r or --ps
```
![runningdockercontainers](https://github.com/user-attachments/assets/18f2eae8-539b-41b5-a12e-d78a648c3ed5)
```python3

### Display the docker images

```bash
monisys -i or --images
```
![dockerimages](https://github.com/user-attachments/assets/5583cba3-d705-44d4-994b-d662bfd6e8a0)
import time
from monisys.Managers.Systeminfo import SystemInfo
system_info = SystemInfo('cpu_info')

### Display the docker volumes
```bash
monisys -v or --volumes
```
![dockervolumes](https://github.com/user-attachments/assets/9076b83f-592f-4e07-804e-c5a49e746b8f)
cpuinfos = system_info.get_all_data()
print(cpuinfos)

### Display the docker layers
```bash
monisys -l or --layers
```
![dockerimagelayers](https://github.com/user-attachments/assets/a0baaa48-f020-4f09-babf-a5c604d9a07f)

### Display the docker image history
```bash
monisys -ih or monisys --image-history
```
![imagehistory](https://github.com/user-attachments/assets/8bd71909-22a6-43c1-b6d3-563d7e0107cf)

### Display the docker mounts
```bash
monisys -dm or --docker-mounts
```
![dockermounts](https://github.com/user-attachments/assets/89019408-70a7-47fc-9a0d-5dd904d1e295)
```

0 comments on commit ac5ae7f

Please sign in to comment.