How to find windows uptime

How to find windows uptime Option 1: 1.  Go to “Start” -> “Run“. 2.  Write “CMD” and press on “Enter” key. 3.  Write the command “net statistics server” and press on “Enter” key. 4.  The line that start with “Statistics since …” provides the time that the server uptime. The command “net stats srv” can be … Read more

Linux Commands Examples

find                                              Search files and folders crontab                                       Schedules the jobs ls                                                  Directory listing iptables                                       Firewall netstat                                         Connection status

Cisco UCS important Links

Cisco UCS Site prepration Guide Download here Cisco UCS 5108 Hardware Installation Guide Download here Cisco UCS 6100 Series Fabric Interconnect Hardware Specs Download here Cisco UCS 6100 Series Fabric Interconnect Hardware installation Guide  here Cisco Data Center Infrastructure 2.5 Design Guide Download here Cisco Validated Designs  Download here UCS Network Configuration for Unified CCE Download … Read more

How to create NFS Share on CentOS

How to create NFS Share on CentOS NFS services should be install  check the services service nfs status which folder you want to share for Example /home/ISOFiles NFS share information kept in /etc/exports file so edit the file and add your share information nano /etc/exports add the line for your share and the host or … Read more

How to transfer files between linux and windows over ssh

1- how to transfer files between linux servers over ssh #scp source  username@destination ip:/destination path For example :- I want to transfer files from local linux machine to remote linux server over ssh #scp abc.tar  root@192.168.1.1:/var/ How to transfer files between Windows  to Linux  over ssh. download winscp from link http://winscp.net/eng/download.php Install winscp Login to … Read more

How to get hard drive utilization report of remote computers

How to get hard drive utilization report of remote computers This script will get a list of computers and output the hard drive information to a pretty html file. You can also just specify the computer(s) on the command line or use a list of computers. Browser will open with the report when completed. drivereport.htm … Read more

How to configure Microsoft iSCSI

How to configure Microsoft iSCSI The Microsoft iSCSI Software Initiator enables connection of a Windows host to an external iSCSI storage array using Ethernet NICs. This download can be installed on Windows Server 2003, Windows XP, and Windows 2000. For Vista and Windows Server 2008, the iSCSI initiator is included inbox. The Microsoft iSCSI software … Read more

Windows update Troubleshooting

Windows update Troubleshooting Use below command for detecting windows updates wuauclt /detectnow Restart the services net stop wuauserv net start wuauserv wuauclt /r /ReportNow If things still aren’t working, the Windows Update log can be found at   ( %systemroot%\WindowsUpdate.log.) The log file — strangely verbose, for Microsoft — is just text and viewable in Notepad. … Read more

SSH Session recording script

SSH Session recording script If you want to record your root ssh session  create a file .bash_profile  . and copy below line by line change the email address where you want to recive the SSH log mail. nano /root/.bash_profile CURDATE=$(date +%F-%T) RAND=$RANDOM EMAILS=”user@example.com otherrecipient@example.com” script -f -q /tmp/session-$USER-$CURDATE-$RAND.log for EMAIL in $EMAILS; do cat “/tmp/session-$USER-$CURDATE-$RAND.log” … Read more