This will tell you, sorted with most usage at top. for file in /proc/*/status ; do awk ‘/VmSwap|Name/{printf $2 ” ” $3}END{ print “”}’ $file; done | sort -k 2 -n..
Category : Systems
aka Setting up DBeaver for use with Redshift. Step by step Setting up DBeaver for use with Redshift is not the most intuitive thing you’ll ever do. A common misconception is that since Redshift is (sorta) built on Postgres, then a Postgres driver is the correct choice. Alas, nope. Here is a quick how-to for setting up DBeaver correctly as possible for Redshift. Here’s the standard DBeaver opening screen Right-click on your Redshift connection and choose “Edit Connection (F4)” That will present you with ..
Windows doesn’t display your PC’s serial number anywhere in its interface, and neither do popular system information tools. But you can often find a PC’s serial number with a simple command, a peek in your BIOS, or on the hardware itself. Run the WMIC Command Open a Command Prompt window to get started. On Windows 10 or 8, ..
How to Install Kubernetes on CentOS 7 (Step by Step) Introduction Small virtual environments, called containers, have become indispensable for developing and managing applications. Working on applications within an isolated container does not affect the host operating system. Containers are more efficient than virtual machines as they do not need their operating system. Kubernetes is ..
The screen utility is not included on some server builds. You *have* to have screen or tmux as a DBA or long-running scripts and DML will timeout and the ssh daemon will boot you off the server. As a workaround, I copy the “screen” binary from /usr/bin/screen on a server that does have it installed ..
FFmpeg is a free and open-source collection of tools for handling multimedia files. It contains a set of shared audio and video libraries such as libavcodec, libavformat, and libavutil. With FFmpeg, you can convert between various video and audio formats, set sample rates, capture streaming audio/video, and resize videos. This tutorial walks you through installing ..
Online no-code application development: https://adalo.com..
iPhone app: What the Font. Finds fonts..
Screen clipping in Windows 10: Windows – Shift..
Using an old cellphone as a portable PC system monitor:..
Use conditional formatting in Outlook to highlight emails from certain users or with certain keywords. Via Mike Tholfsen…
IPhone ..
vm.tiktok.com/..
To record, press Windows-G for menu, Windows-alt-R ..
Multi-clipboard how-to…
Visit the App Store and download P3 Tips to submit secure and anonymous tips. Online at https://www.p3tips.com/823Visit the App Store and download P3 Tips to submit secure and anony..
https://www.w3schools.com/howto/howto_css_table..
www.dell.com/community/Laptops-General-Read-Only/I-need-to-replace-the-hard-drive-on-my-Inspiron-17R-N7110-HELP/td..
WebDAV client programs tested with FileRun: Program Name Operating System License Notes Windows Explorer Windows Our opinion: only if you don’t have other options MacOS Finder Mac Our opinion: decent solution Linux Linux Cyberduck Windows Mac Free Our opinion: decent solution WebDrive Windows Mac Free Trial Our opinion: very good! NetDrive Windows Mac Free Trial ..
If you have a Gmail account, you can configure your MTA to relay outgoing mail through Gmail. This gives you the benefit of Gmail’s reliability and robust infrastructure, and provides you with a simple means of sending email from the command line. In this tutorial, we will use Postfix as our MTA. Postfix is a ..
This article will take a look at a few useful ways to modify your ssh_config file to achieve a greater degree of security and control. This post is not about server-side configuration via sshd_config, which deserves its own separate article. What is ssh_config? Some engineers may be surprised by how much of ssh client behavior ..
A sample service check, annotated: host_name dbsrp2076 <– name of server service_description SSH <– service being monitored servicegroups PROD-ssh <– service groups is_volatile 0 <– Does this service spontaneously start and stop (always 0 for “no”) check_period 24×7 <– during what hours is this service checked? max_check_attempts 10 <– ..
What if Windows let you quickly access administrative tools, backup and restore options and other important management settings from a single window? If that sounds good, look no further than the so-called “God Mode.” What Is God Mode? No, God Mode doesn’t unlock any extra secret features in Windows or let you do any tweaking ..
At times it is necessary to repair TCP/IP stack because the links between the layers may become broken. When you try pinging an address, you get a response but still cannot connect to your network or the internet. Start > All Programs > Accessories and right click on “Command Prompt”, select “Run as Administrator” to ..
Most distributions of Linux come with a handy network latency utility called mtr. Thankfully, it is included with the distributions of RHEL we use as well. It’s a combination of ping and traceroute which show each hop of a network path, the time for that hop, and averages/standard deviations. I use it all the time. ..
From screentogif.com: This free tool was (and still is) mainly projected to work as a quick and small screen recorder. If you plan to record hours of fullscreen content, I recommend switching to more advanced software. Recording 📹 ScreenToGif allows you to record part of your screen with the Screen Recorder, also there’s the Webcam ..
Nikto is a very popular and easy to use webserver assessment tool to find potential problems and vulnerabilities very quickly. This tutorial shows you how to scan webservers for vulnerabilities using Nikto in Kali Linux. Nikto comes standard as a tool with Kali Linux and should be your first choice when pen testing webservers and web applications. ..
By far the simplest option is for Mac users to install Telnet through Homebrew. If you haven’t done so, go through these steps first: Next, from a termina window, run this command. brew install telnet Hit Return and let Homebrew download and install Telnet to the Mac When installation has complete, you can run Telnet ..
Advanced Mac users may appreciate using the Homebrew package manager, which greatly simplifies the process of installing command line software and tools on a Mac. For example, if you want to easily install favorite command line tools on a Mac like cask, htop, wget, nmap, tree, irssi, links, colordiff, or virtually any other familiar unix ..
To view the existing routes, C:\> route print To add a static route, Syntax: C:\> route add <target> mask <netmask> <gateway IP> metric <metric cost> if <interface> Example: C:\> route add 10.10.10.0 mask 255.255.255.0 192.168.1.1 metric 1 Note: If there is more than one Network Interface and if the interface is not mentioned, the interface ..
Action Arch Red Hat/Fedora Debian/Ubuntu SUSE/openSUSE Gentoo Install a package(s) by name pacman -S yum install apt-get install zypper install zypper in emerge [-a] Remove a package(s) by name pacman -Rs yum remove/erase apt-get autoremove zypper remove zypper rm emerge -C Search for package(s) by searching the expression in name, description, short description. What exact ..
Tomcat–not my favorite. General Steps Create a Key and Certificate Request Issue the Certificate from your favorite Registrar Merge the Certificate into a Tomcat File Create a Key and Certificate Request On your favorite Linux or Windows box, make sure you have OpenSSL. I am making a directory called /home/keystore. Seems fitting. So: mkdir ..
Useful if you feel you’re getting DDOS, flood, or other attacks: netstat -an | grep tcp | awk ‘{print $5}’|sed ‘s/::ffff://’|cut -f1 -d’:’| sort | uniq -c | ..
Some time in your life you’ll run across an Apache server that always has tons of TIME_WAIT connections just seeming to hang out. While these don’t take up as many resources as an ESTABLISHED connection, why keep them around so long? This short article will show you how to identify how many you have, and ..
Original: How to set up WebDAV hosting on Apache – TechRepublic. WebDAV (Web-based Distributed Authoring and Versioning) is a way to share files over HTTP, much like you would use Samba or NFS. It has more limitations, and less speed, than filesystems like Samba or NFS, but with the proliferation of web servers and the ..
BASH Shell Redirect Output and Errors To /dev/null How do I redirect output and errors to /dev/null under bash / sh shell scripting? How do I redirect the output of stderr to stdout, and then redirect this combined output to /dev/null? You can send output to /dev/null, by using command >/dev/null syntax. However, this will ..
If you, or your clients, are unable to login to your/their email accounts and the system shows this error message: Plaintext authentication disallowed on non-secure (SSL/TLS) connections If you do not want to use SSL/TLS connection to get your email, and to disable SSL/TLS secure connection, do the following: 1. Edit dovecot configuration file: /etc/dovecot.conf ..
Original: How to set up WebDAV hosting on Apache – TechRepublic. WebDAV (Web-based Distributed Authoring and Versioning) is a way to share files over HTTP, much like you would use Samba or NFS. It has more limitations, and less speed, than filesystems like Samba or NFS, but with the proliferation of web servers and the ..
Original: Negotiation: Discovered File(s) Matching Request: None Could Be Negotiated. Posted June 24, 2011 at 9:30 AM by Ben Nadel Yesterday, I lost at least two hours trying to figure out why my local copy of a website was throwing 404 (File Not Found) errors. We had just implemented some URL rewriting on the production ..
This howto page will provide instructions on how to reach services running inside a firewall from outside of the network by using the Putty SSH Client and SSH Port Tunneling. Requirements Download Putty.exe. Port Tunneling Launch Putty. Different categories will be listed on the left side, click on Connection > SSH > Tunnels. Under Add ..
The Linux kernel provides a tweakable setting that controls how often the swap file is used, called swappiness. A swappiness setting of zero means that the disk will be avoided unless absolutely necessary (you run out of memory), while a swappiness setting of 100 means that programs will be swapped to disk almost instantly. Ubuntu ..
There are times when you need to move WordPress around within your server, and times when you need to move WordPress from one server to another. You don’t need to reinstall. WordPress is flexible enough to handle all of these situations. When Your Domain Name and URLs Do Not Change Moving your domain without changing ..
Many people want WordPress to power their site’s root (e.g. http://example.com) but they don’t want all of the WordPress files cluttering up their root directory. WordPress allows you to install it into a subdirectory, but have your blog exist in the site root. As of Version 3.5, Multisite users may use all of the functionality ..
This is a simple script that interactively converts an IP address to its decimal equivalent. This can sometimes be used to bypass web content filtering devices as not all will convert the decimal to an IP and then a hostname. #!/usr/bin/perl # # prompt for an IP print “Enter an IP Address: “; # get ..
1. Determine what existing range files exist: # cd /etc/sysconfig/network-scripts/ # ls ifcfg-eth1-range* You will see at least one file, possibly several. Find the highest number following the “range” and add one to it. This will be the new range number. For example, if you see ifcfg-eth1-range0 and ifcfg-eth1-range1, your new range number will be ..
Below is a fairly comprehensive list of most widely used performance testing tools for measuring web application performance and load stress capacity, current as of this post date (2012-09-19). These load testing tools will ensure your application performance in peak traffic and extreme stress conditions. The list includes open source as well as licensed performance ..
Various ways to display iptables rulesets: iptables -nL -v –line-numbers -t filter iptables -nL -v –line-numbers -t nat iptables -nL -v –line-numbers -t mangle iptables -nL -v –line-numbers -t ..
Basic rsyncing: #!/bin/bash rsync -avz –delete –exclude= –exclude=remotehost.com:/the/remote/directory/ /the/local/..
find . -name ‘*.txt’ -print0 | xargs -0 rm You can substitute the “rm” with any command you need to run on all the associated files. “print0” automagically escapes filenames with spaces or weird c..
Possible telnet test output for another database and their meaning is listed below: a) Result when firewall is blocking connection for a IP and port combination: >telnet 20.25.127.140 3306 Trying 20.25.127.140… telnet: Unable to connect to remote host: Connection timed out b) Result when firewall is allowing connections through for IP address and port number ..
#!/usr/bin/perl # query the system through the generic sysctl(8) interface # (this does not require special priviledges) my $sysctl = {}; my $sysctl_output = `/sbin/sysctl -a`; foreach my $line (split(/n/, $sysctl_output)) { if ($line =~ m/^([^:]+):s+(.+)s*$/s) { $sysctl->{$1} = $2; } } # round the physical memory size to the next power of two which ..
Check $STY. If it’s null, you’re on a “real” terminal. If it contains anything, it’s the name of the screen you’re in. If you are not in screen: eric@dev ~ $ echo $STY eric@dev ~ $ If you are in screen: eric@dev ~ $ echo $STY 2026.pts-0.ip..
Commands that can be run from the command prompt The List Accessibility Controls access.cpl Add Hardware Wizard hdwwiz.cpl Add/Remove Programs appwiz.cpl Administrative Tools certmgr.msc Calculator calc Character Map charmap Check Disk Utility chkdsk Clipboard Viewer clipbrd Command Prompt cmd Component Services dcomcnfg Computer Management compmgmt.msc Date and Time Properties timedate.cpl DDE Shares ddeshare Device Manager ..
A whole bunch of Windows command line shortcuts: Accessibility Controls access.cpl Add Hardware Wizard hdwwiz.cpl Add/Remove Programs appwiz.cpl Administrative Tools certmgr.msc Calculator calc Character Map charmap Check Disk Utility chkdsk Clipboard Viewer clipbrd Command Prompt cmd Component Services dcomcnfg Computer Management compmgmt.msc Date and Time Properties timedate.cpl DDE Shares ddeshare Device Manager devmgmt.msc Direct X ..