• Vehicles • Fashion • Recipes • Blogs • Hunt • Travels • Sport • Fun • Handmade • IT • Education
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
3 Linux Tips - Swap Usage - Network Scans - Power Management - Chris Titus Tech

3 Linux Tips - Swap Usage - Network Scans - Power Management - Chris Titus Tech

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
3 Linux Tips - Swap Usage - Network Scans - Power Management - Chris Titus Tech 3 Linux Tips - Swap Usage - Network Scans - Power Management Lets go over these three commands that you have to know in Linux. included so skip to the tip you want to see below: - 0 01:15 vm.swappiness - Swap File Usage 04:57 nmap - Network Scan your LAN 07:23 Power Management - tlp powertop backlight 10:39 Conclusion
Date: 2022-03-21

Comments and reviews: 10


Unless you restart right after installing tlp, it won't start until you to enter -sudo tlp start- during your current session. After that, it will automatically start on every boot.
As a suggestion....BEFORE you start tlp for the first time, open powertop and observe the -watts- being used. Let your laptop sit for a few minutes to let the usage stabilize. Next, go to -Tunables- and note which lines are -bad-.
Now, start tlp, and see if the wattage has changed and which tunables tlp turned from bad to good. If any items remain bad, you can change them to good. tlp will keep the ones it changed to good, but the ones you changed to good will not be persistent and will revert to bad on the next boot. tlp will actually tell you the code needed to make it persistent. If you manually change a tunable from bad to good and something goes wrong, simply reboot and it will return to bad.
tlp can knock at least a watt (or two) off of the drain, in most cases.

reply

How dare he! Installing tlp without even SHOWING the WELL-COMMENTED and WELL-CATEGORIZED configuration file. :-)
Psst... he forgot to mention -sudo tlp-stat-. Especially if one is running Linux on a laptop... especially with one of the 5.x kernels... one must determine the p-states of one's hardware before (safely) configuring advanced options in tlp (i.e. min and max CPU utilization on battery; min and max CPU base-clock; boost enabled/disabled; etc). I have gotten an extra 20% in battery TIME beyond the default tlp configuration: 1 extra hour of light use; 5 extra hours of suspend/sleep. This is partly due to reduced thermals -> less fan use.

reply

I've asked before but I guess I'll ask again. Chris, how do you customize your terminal prompt colors and design? I know how to change the background but you have a custom command line prompt text. Thanks to you or anybody that might give away that little secret! PS - I can see that there are color controls using ANSI Escape codes (in .baschrc) but I was hoping there would be a utility to assist in making that job much easier......... I'm old and used to do that in the DOS prompt using advanced batch files back in the day with Microsoft DOS BEFORE Windows....;-)
reply

Hey, I like the video you are making. I also have a problem with Linux and I think it might be interesting for you to look into it because a lot of people struggle with it and it stops people to switch over to Linux. It is about Affinity Photo and Designer not running on Wine. Affinity also does not want to make a Linux version of these programs anytime soon. If you found a way to do it and make a tutorial on it, you would help a ton of people.(But please do not feel obligated)
reply

Hi Chris, thanks for the tip's. -. Just wanted to say I'm using POP os and at times when I copy huge file from and to my system my PC seem to lag a lot don't know why... --. So though it was the swappiness problem but by default in PoP OS the value is 10. Can you think of any other reason for the system to hang. I have 8GB of RAM, and the HDD are in good condition. My OS is installed in an SSD and data is kept in a seperate HDD, the HDD is not set as home directory or anything.
reply

Please, make more (or some) videos like this where you review things in the short more. I really benefitted from watching this. I wish you could review more commands in Linux in a -Featurette- like this. It would help me to watch and learn it in this short format. Then, I could refer back to it. This is one of the first like this, and I think it is very helpful to see it in a -Quick Format- -- like this.
reply

while i built a budget PC, my Friend gave me 32 GB of RAM free so when i installed Linux i had NO IDEA how much Swap to assign with all the really outdated info i settled on 16 GB... maybe you should address that by making a Dedicated video on how much Swap is needed on certain tiers of RAM! (2,4,8,16,32 and 64+) explaining if or when you don't need Swap and if there is a minimum...
reply

For the backlight setting on laptops, xbacklight basically changes the number in the backlight file. Most laptops have baclight values in hundreds to thousands. So for example say, -xbacklight -inc 10- may increase backlight value from 3000 to 3010. This doesn't really work. So you might want to use -xbacklight -inc 10%-.
reply

the Swap Usage one was actually useful for me. I also happen to have 16GB of ram and similar usage, so I set it to 1. I'd really like for my SSD to survive as long as possible, so swapfiles kinda work against me. Also bashtop looks great and ofc apt can't find it... one day I'll switch to arch...
reply

Question about nmap: when you scan on 192.168.x.0/24, is it scanning the addresses with the assumed/always open port 24, or is that IPs 192.168.x.1 - 192.168.x.255? It sounds standard/default to have that range, but is it feasible that you/someone has a bigger/smaller range than that?
reply
Add a review, comment






Other channel videos