Skip to main content
37
results
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage trends is crucial for maintaining system health and performance. While tools like htop offer real-time insights into memory usage, they lack the capability to provide historical data. So, what if you need to analyze memory usage over the past 24 hours or even a week? Fear not, as Sysstat comes to the rescue with its powerful sar command.   Installing Sysstat Before delving into historical memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
In our projects, team members frequently generate new Git branches linked to the...
Andrew Fletcher
The error you're encountering indicates an issue with the ffi gem during the...
Andrew Fletcher
git reset, git revert, and git cherry-pick are three Git commands used for different purposes related to managing your version control history. Here's a brief overview of each command: git reset git revert git cherry-pick  Snapshot git revert is to roll back to a previous version of the repo you're working on git reset simply wipe all changes made since the last commit.  You don't want to commit the changes you have locally, however, you want to reinstate the conditions as they...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal installation. Current path to the file: web/core/modules/views/src/Plugin/views/argument/ Orignal filename: ArgumentPluginBase.php Adjusted filename: ArgumentPluginBase-adjusted.php   Create a Patch A patch is used to create or override changes in another file.  The command to create a patch is: diff -u {original filename} {changed filename} > {patchfile}.patchdiff -u...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
This issue I have a folder with about 10,000 files in it.  I want to scan...