This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for path in /sys/devices/system/cpu/cpu*/cache/index*/ | |
do | |
echo $path; | |
echo -n "Level: "; cat $path/level; | |
echo -n "Type: "; cat $path/type; | |
echo -n "Size: "; cat $path/size; | |
echo -n "Cache line size: "; cat $path/coherency_line_size; | |
echo -n "Associativity: "; cat $path/ways_of_associativity; | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |
NewerOlder