Linuxでプロセスごとのメモリ使用量を調べるコマンド
1.topを実行して 次のコマンドをする
shift+m メモリ使用量が多いもの順
shift+t 実行時間が長い順
shift+n プロセスID順
shift+a 新しいタスク順
shift ...
Linuxでapacheをインストール、バーチャルホスト、SSLの設定
1.yumでhttpdをインストール
yum install httpd
構成ファイルを設定
vim/etc/httpd/conf/httpd.conf
ServerName ホスト名:80 ...
puppet 3.6をインストール時「please explicitly set allow_virtual to false」の対策
1.エラーメッセージ:
Warning: The package type’s allow_virtual parameter will be changing its default value from fal ...
Linuxでスワップ(swap)を新たに追加する方法
1.swap領域の使用状況を確認
# free -m
total used free shared buffers cached
Mem: 6081 4465 1616 0 33 4199
-/+ bu ...
apacheで「Cannot load /usr/local/apache2/modules/libphp5.so」の解決方法
1.エラーメッセージ:
httpd: Syntax error on line 54 of/usr/local/apache2/conf/httpd.conf: Cannot load/usr/local/apache2/mo ...
yumでダウンロードしたディレクトリを設定する
1.yumでダウンロードしたrpmパッケージを設定
vim/etc/yum.conf
修正前
keepcache=0
修正後
keepcache=1
2./var/cache/yum ...
「nginx入門」nginxの構成ファイルを最適するサンプル
ファイル名:
nginx.conf
コード下記:
user www www;
worker_processes 8;
worker_cpu_affinity 00000001 0000001 ...
nginx1.0.14で 404 Not Foundエラーの対策
エラーメッセージ:
404 Not Found nginx/1.0.14
修正ファイル:
nginx.conf
追加内容:
if (!-e $request_ ...
AutoHotkey 1.1.15.04をダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
cnetサイトからダウンロード
更新内容:
Fixed a performance issue with ...Far Manager 3.0 build 4040 をダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
cnetサイトからダウンロード
Far Manager is a program for managing f ...
「Windows10コマンド」explorerコマンドでディレクトリを開くサンプル
操作方法
1.現在のカレントディレクトリを開く
操作コマンド
>explorer .
2.一つ上位ディレクトリを開く
>explorer ..
3.指定ディレクトリを ...
McAfee Stinger 12.1.0.1038 をダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
cnetサイトからダウンロード
更新内容:
New Detections:
Generic.t ...
[CSS」notで特定の要素にCSSを適用しないサンプル
構文
セレクタ:not(適用しないセレクタ1):not(適用しないセレクタ2){//CSSコード}
使用例
Rapid Environment Editor (RapidEE) 8.0 Build 922をダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
提供元サイトからダウンロード
提供元サイトからダウンロード
更新内容:
fixed: ̶ ...AnyDVD & AnyDVD HD 7.5.1.0 をダウンロード
ダウンロード:
提供元サイトからダウンロード
softpediaサイトからダウンロード
AnyDVD は バックグラウンドで自動的に DVD ムービーを解析するドライバーです。 解析された DVD は全ての ...
Objective Cの配列ソートをする方法3(sortedArrayUsingDescriptors:)
1.Carクラス
Car.m
#import “Car.h”
@implementation Car
+(Car *)initWithName:(NSString *)name ...
Objective Cの配列ソートをする方法2(sortedArrayUsingComparator:)
コード下記:
void sortArray3(){
NSArray *array = ;
NSArray *sortedArray = ;
return result;
}];
NS ...
Objective Cの配列ソートをする方法1(sortedArrayUsingSelector:)
1.compare:メソッド
void sortArray1(){
NSArray *array = ;
NSArray *sortedArray = ;
NSLog(@”ソート後:%@&# ...