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
5555
5656``` python
5757
58- # 4 - total ram
58+ # 5 - total ram
5959
6060ram= orangetool.ram_total() # this function return total ram of the board
6161
62- # 5 - free ram
62+ # 6 - free ram
6363
6464ram= orangetool.ram_free() # this function return how much ram is available in the board
6565
66- # 6 - ram percentage
66+ # 7 - ram percentage
6767
6868ram= orangetool.ram_percent() # this function return available ram percentage
6969
70+ # 8- freeup
71+
72+ orangetool.freeup() # To free pagecache, dentries and inodes and return freeuped amount
73+
7074```
7175
7276## Other Functions ##
7377
7478``` python
7579
76- # 7 - get_temp
80+ # 9 - get_temp
7781
7882temp= orangetool.get_temp() # this function return cpu temperature as string
7983
80- # 8 - uptime
84+ # 10 - uptime
8185
8286time= orangetool.uptime() # this function return uptime of system
8387
You can’t perform that action at this time.
0 commit comments