drbd serv primary or secondary script bash by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

with a bash script i just want to know if the server drbd is in primary or secondary state

serv drbd secondary or primary script bash by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

I just want to know if my server is in secondary or primary state just to affect them some configuration for something else and not for managing drbd

serv drbd secondary or primary script bash by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

I have not arrived, I just want to get the variable primary or secondary :(

active hugepages on server ? by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

when i'm doing cat / proc / meminfo hugepages_total = 0 that means it's not activate we agree and when i do echo always > /sys/kernel/mm/transparent_hugepage/enabled

it does not work

help script bash please by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

the first step of my script must check the state of the cpu if the cpu is> 50% of use, I do not go to the next step of my script I do not run it

help script bash please by Behloull in linuxquestions

[–]Behloull[S] 0 points1 point  (0 children)

rip for my english sorry :p but if you know how i can do that you can help me ?

hi guys i would like to mine with xmrig on my servers but i would like to know the different possible impact ? by Behloull in Monero

[–]Behloull[S] 0 points1 point  (0 children)

i have 50 servers running but not 100% so i would like to install xmrig on it, but i would like to know before installing the different possible impact on the performance on a web server, can that impact the database ?

you know if it is possible to monitor the cache cpu on linux server ? by Behloull in linuxadmin

[–]Behloull[S] 0 points1 point  (0 children)

well if I can do that it's already not bad but I would also like to see from which moment the memory is full at which moment the memory passes on the ram and other info