Linux

How to generate XML using SQL query in Oracle

How to generate XML using SQL query in Oracle 1. Selecting single column from a table SELECT  SYS_XMLAGG(SYS_XMLGEN(franchisee_codes))    FROM franchisee_mapping   WHERE username = '<username>'; The output will  be  <?xml version=&qu…

How to find the right command and its location in LInux

find the right command and its location  in Linux   # apropos   # apropos "list directory" dir (1) - list directory contents ls (1) - list directory contents ntfsls (8) - list directory contents on an NTFS filesystem vdir (1) - list dir…

Linux useful commands

Linux useful commands # -Hostname. echo -e "\e[35;42m***** HOSTNAME  *****\e[0m" hostname # -File system disk space usage: echo -e "\e[35;42m***** FILE SYSTEM DISK SPACE USAGE *****\e[0m" df -h # -Free and used memory …

Linux history command

To check the command run on any terminal  the command used is "history" #history Sample output $ history     6  tracerout 10.19.250.181     7  traceroute 10.19.250.181     8  ping 10.220.196.64     9  traceroute [oracle@ITPFEBPAS0816P…

How to check the top six big files in Linux

Top six big files in Linux eating out your space # du -hsx * | sort -rh | head -6 $ du -hsx * | sort -rh | head -6 12G     ebportal-08092015.dmp 12G     ebportal-06092015.dmp 11G     oracle11204Patch 8.8G    old_temptables.dmp 7.1G    fullexp_Tue.d…

Linux - Command to Monitor Linux Performance

1. Top – Linux Process Monitoring  Linux Top command is a performance monitoring program It display CPU usage , Memory usage , Swap Memory , Cache Size , Buffer Size , Process PID , User , Command s and much more. It also shows high memory …

Load More
That is All