File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -55,29 +55,33 @@ ip_status=orangetool.ping(ip_address) #this function check ip and return True if
55
55
56
56
``` python
57
57
58
- # 4 - total ram
58
+ # 5 - total ram
59
59
60
60
ram= orangetool.ram_total() # this function return total ram of the board
61
61
62
- # 5 - free ram
62
+ # 6 - free ram
63
63
64
64
ram= orangetool.ram_free() # this function return how much ram is available in the board
65
65
66
- # 6 - ram percentage
66
+ # 7 - ram percentage
67
67
68
68
ram= orangetool.ram_percent() # this function return available ram percentage
69
69
70
+ # 8- freeup
71
+
72
+ orangetool.freeup() # To free pagecache, dentries and inodes and return freeuped amount
73
+
70
74
```
71
75
72
76
## Other Functions ##
73
77
74
78
``` python
75
79
76
- # 7 - get_temp
80
+ # 9 - get_temp
77
81
78
82
temp= orangetool.get_temp() # this function return cpu temperature as string
79
83
80
- # 8 - uptime
84
+ # 10 - uptime
81
85
82
86
time= orangetool.uptime() # this function return uptime of system
83
87
You can’t perform that action at this time.
0 commit comments