Score:0

getting disallowed error for top command

in flag

while entering top command from a script getting the below error:

praveen.kumar@MUM:/home/admin$ top -b -n 1 -d1 |grep "Cpu(s)"| awk -F' ' '{print $2}'|awk -F' ' '{print $1}'
top: -d disallowed in "secure" mode
pLumo avatar
in flag
Check your `/etc/toprc` for `s` option and remove that.
Praveen Kumar avatar
in flag
let me check it and revert you back
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.