User Tools

Site Tools


how_to

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to [2016/08/22 18:43]
k2patel [Configure option for Fedora / Redhat]
how_to [2020/08/10 02:35] (current)
Line 441: Line 441:
  
 ==== Run single command parallel'​y with diff values ==== ==== Run single command parallel'​y with diff values ====
 +<WRAP prewrap>
 <code bash> <code bash>
 (echo "​http://​test.k2patel.in";​ echo "​http://​test.ornl.gov";​ echo "​http://​yahoo.com"​ ) | parallel 'ab -n 50 -c 50 {}' (echo "​http://​test.k2patel.in";​ echo "​http://​test.ornl.gov";​ echo "​http://​yahoo.com"​ ) | parallel 'ab -n 50 -c 50 {}'
-</​bash>​+</code> 
 +</​WRAP>​ 
 + 
 +==== Print yum variable value ==== 
 +<code python>​ 
 +import yum 
 +import pprint  
 + 
 +yvar = yum.YumBase() 
 +pprint.pprint(yvar.conf.yumvar,​ width=1) 
 +</​code>​ 
 + 
 +==== Disable Predictable interface name in RHEL / CentOS ==== 
 +Pass following during boot kernel command line. 
 +<​code ​bash
 +net.ifnames=0 
 +</code>
how_to.1471891406.txt.gz · Last modified: 2020/08/10 02:30 (external edit)