Oracle VM Site Review - Oracle VM Health Check
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.

Execute script on remote server SSH - Unix

Assume you have a complex bash script named 'run_q.sh' (containing good number of loops, Awk statements, multiple lines of code etc) that you need to run against one or more remote servers via SSH. One way would be to copy (i.e. scp) the script to the remote server(s) and then do something like this: e.g. $ scp -2 run_q.sh root@192.168.32.8:/tmp/.$ ssh -2 root@192.168.32.8 sh /tmp/run_q.sh

Video: Best Practices for Application Performance, Scalability, and Availability

Nancy Ikeda nails it in a great Oracle OpenWorld recording of her Best
Practices for Application Performance, Scalability, and Availability
session
now viewable on the href="http://www.oracle.com/technetwork/database/features/oci/index-090945.html"
>Oracle Call Interface page

The session covered:

Python – check if value/variable is integer

 
By using is isinstance(var, type) function we can check a given value/variable is integer or not. isinstance will either written True or False.
Here is and an example:
>>> isinstance(10, int)
True
>>> var_a=10
>>> isinstance(var_a, int)
True
>>> isinstance('a', int)
False
To check if variable is a number use following example:

Device Assist

http://ibnlive.in.com/news/googles-new-device-assist-app-helps-you-fix-smartphone-issues-suggests-better-phone-usage/516943-11.html

Python – Get epoch time stamp in milliseconds

To get epoch time stamp in Python we need to time.time() function.
time.time() will returns a float value with double precision counting seconds since epoch and to convert it to milliseconds multiply it with 1000.
With below example code I will show how to get epoch time stamp in milliseconds:
>>> import time
>>> time.time()
1417778138.893148
>>> int(time.time() * 1000)
1417778323455

In above example int(time.time() * 1000) will return epoch time in milliseconds.

How to change system timezone

When you initially install Linux, you specify the machine's timezone. After the install, you can manually change the timezone. The following procedure applies to Debian and Ubuntu systems. Before you change the timezone, let's find out what timezone your system is currently in. $ dateTue Dec 2 13:53:11 PST 2014

rsyslog -devel packages are being removed soon

If you use rsyslog's devel packages on your system, you will receive errors soon. Be sure to read the complete posting to avoid trouble!As part of rsyslog's new release schedule and version naming, devel releases will no longer be named according to the "normal" numbering scheme. This also means that the previous "devel" branches will disappear, as git master branch now is the always-current devel version.

Google Drive now lets you edit Microsoft Office attachments right from Gmail

http://venturebeat.com/2014/12/02/google-drive-now-lets-you-edit-microsoft-office-attachments-right-from-gmail/

Google releases list of 68 best Android apps of 2014; 61 free, 7 paid

http://ibnlive.in.com/news/google-releases-list-of-68-best-android-apps-of-2014-61-free-7-paid/516093-11.html

rsyslog's new release cycle and versioning scheme

With today's release of rsyslog 8.6.0, we start a new release schedule and versioning scheme. In a nutshell, we will be doing stable releases every six weeks now, and devel releases will be distributed via git exclusively.

view counter