2020-08-29から1日間の記事一覧

OSプロセス確認

DB

MySQL (5.6) マルチスレッドモデル Oracle (12cR1) 前提:Oracleマルチプロセス/マルチスレッド機能が無効 select s.username,s.process,s.program,p.spid,p.programfrom v$session s, v$process pwhere s.paddr = p.addr; PostgreSQL (9.4) select * from p…

VSCode

OS

Ubuntu (20)https://qiita.com/yoshiyasu1111/items/e21a77ed68b52cb5f7c8 snap install --classic codesnap list -- 一般ユーザで実行code --versioncode Debian (10)http://nao-yu-ki-pc.blogspot.com/2019/09/debian-visual-studio-code.html apt install…

RubyでHello World

OS

Ubuntu (20)https://techacademy.jp/magazine/19901 apt install ruby-fullruby --version vim hello.rbprint "Hello World!\n" ruby hello.rb --vim web.rb require 'webrick' op = { BindAddress: "192.168.137.167", Port: 8080, DocumentRoot: "." }s = …

PythonでHello World

OS

Ubuntu (20)https://qiita.com/okhrn/items/4d3c74563154f191ba16 apt install python3 python -V vim hello.pyprint("Hello World!") python hello.py -- python -m http.server 8080-- vim web.py #!/usr/bin/env python3import http.serverimport sockets…

JavaでHello World

OS

Ubuntu (20)https://qiita.com/terappy/items/537c069923144a9d9755https://eng-entrance.com/java-hello-worldhttps://www.net.t-labs.tu-berlin.de/teaching/computer_networking/02.08.htm apt install openjdk-8-jdkjava -versionjavac -version vim hel…

PerlでHello World

OS

Ubuntu (20)https://qz.tsugumi.org/Perl_IO_Socket_INET.htmlhttps://www.geekpage.jp/programming/perl-network/simple-http-serv.php perl -v vim hello.pl#! /usr/bin/perlprint "Hello World!\n" perl hello.pl --vim web.pl #!/usr/bin/perl use IO::S…

GoでHello World

OS

Ubuntu (20)https://qiita.com/nsd24/items/7ca62a054ec09c799e1bhttps://qiita.com/notchi/items/5f76b2f77cff39eca4d8http://pineplanter.moo.jp/non-it-salaryman/2017/06/26/webserver-on-golang/ apt install golanggo version mkdir -p /usr/local/gov…

Node.jsでHello World

OS

Ubuntu (20)http://www.tohoho-web.com/ex/nodejs.html apt updateapt install nodejsapt install npmupdate-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 node --version vim hello.js console.log("Hello world!"); node hello.js vim w…