Oracle Virtualization and Cloud Consulting
view counter

Linux Feed

Linux Support, Oracle Linux, Red Hat Enterprise Linux, SUSE, Oracle Unbreakable Enterprise Kernel and the Oracle Unbreakable Linux Support Program (ULN) resources, news, and support articles.

Able to ping IPoIB for selected existing nodes when adding new nodes

When I add in new nodes, install the MLNX_OFED drivers from Mellanox. Strangely I was only able to randomly ping to selected existing or new nodes on the Cluster. This was quite a curious problem.
When I do a ibstat, but when you do a ibping test (Installing Voltaire QDR Infiniband Drivers for CentOS 5.4), the test will failed for selected nodes in the cluster, but others will be able to ping back.

Happy new year 2015 to all unix lovers

Wishing all the readers of unixcl.com a Happy and Healthy 2015 ahead, keep rocking !

Google lists over a 100 'must-have' Android apps

http://ibnlive.in.com/news/google-lists-over-a-100-musthave-android-apps/520647-11.htmlGoogle has now published another list of apps that it thinks you must have on your Android devices. The list on the Google Play Store features 122 apps when accessed from India. It includes popular apps like Evernote, Pocket, CamScanner, YouTube.

awk print Nth line after matching a pattern

 
By using awk we can print only Nth line after matching a pattern.
Lets say I have a file test.txt with following content and I want to extract 5 line after matching pattern.
$ cat test.txt
1
2
3
4
5
6
7
8
9
Use following awk code to extract Nth line:
Syntax:
$ awk 'c&&!--c;/pattern/{c=N}' file
where “pattern” is your input pattern and N is a line number to extract after matching pattern.

Forcibly kill or purge the Job in the Torque Scheduler

When there is a job stuck and cannot be remove by a normal qdel, you can use the command qdel -p jobid. Do note that this command should be used when there is no other way to kill off the job in the usual fashion especially if the compute node is unresponsive.
# qdel -p jobID
References:

view counter