{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

CH 6: Tuning System Performance Flashcards

(7 cards)

1
Q

ps a
ps u
ps aux

A

show me

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

list all tuned profiles

A

tuned-adm list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

change server tuning profile to powersave

A

tuned-adm profile powersave

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

view active tuned profile

A

tuned-adm active

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

2 ways to view information about CPUs

A

lscpu

cat /proc/cpuinfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to start a process with a nice value of 10

A

nice -n 10

in the book we did:
nice -n 10 sha1sum /dev/zero &

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Show all sha1sum processes with ps to show PID, % of CPU, nice value, and executable name (command)

A

ps -o pid,pcpu,nice,comm $(pgrep sha1sum)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly