I was getting really bad battery life on my Fedora 19 system, and did not find much on how to tune it. Finally I found something that just does not need much configuration but works pretty well. So, here is what you need to do:
sudo yum install tuned tuned-adm
The second package, tuned-adm installs additional themes for power saving. It is optional and not mandatory. Once you have installed these, you can do the following:
tuned-adm list #List all the profiles
tuned-adm # Set the profile.
It is good practice to keep iptables/firewall enabled. But configuring it is difficult, do you agree. Not any more 🙂
sudo yum install firewall-config
This will install a GUI application, which you can run with “Firewall” application in the dash or with “firewall-config” in terminal. It is pretty straight forward to use this tool, even if you don’t have much knowledge on Firewall/iptables.
ss is :
ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state informationsthan other tools.
This comes in iproute package in Fedora. So, to install this you would need to install “iproute” if not installed already.
sudo yum install iproute
Now, once you have done that you can look at the man page to check what all you can see with ss. but here are some examples:
#list all sockets
#List all listening sockets
# Show detailed information and memory for all listening sockets
# Display all udp sockets
ss -u -a