<commit_before>---
layout: post
title: Linux mini guide
---

### Display VmSize used by all apache httpd processes.

     ps aux |grep httpd| cut -f 4 -d " "| xargs -n 1 -I {} cat /proc/{}/status|grep "VmSize"
     
### Reverse tunnel ssh<commit_msg>How to drop all disk cache.<commit_after>---
layout: post
title: Linux mini guide
---

### Free disk cache.

More info at http://www.linuxatemyram.com/

     free -m
     echo 3 | sudo tee /proc/sys/vm/drop_caches 
     free -m

### Display VmSize used by all apache httpd processes.

     ps aux |grep httpd| cut -f 4 -d " "| xargs -n 1 -I {} cat /proc/{}/status|grep "VmSize"
     
### Reverse tunnel ssh
{'fraction_non_alphanumeric': 0.1402439024390244, 'fraction_numerical': 0.007621951219512195, 'mean_word_length': 2.532258064516129, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1685188', 'n_tokens_mistral': 242, 'n_tokens_neox': 224, 'n_words': 86}