Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 23rd, 2018
93
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
found = nil
IO.popen('ps aux'){|x|
while a = x.gets
if (a =~ /postgres/ ) then
found = true
break
end
end
}
puts found ? "yes!" : "no!"
Add Comment
Please,
Sign In
to add comment
Public Pastes
craftify
Lua | 15 min ago | 3.24 KB
mobfarm-materials
GetText | 20 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 27 min ago | 0.39 KB
Untitled
ASM (NASM) | 28 min ago | 1.23 KB
14
Python | 33 min ago | 0.22 KB
Untitled
C++ | 34 min ago | 4.27 KB
mc_1&4_codes
Python | 38 min ago | 1.84 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 60 min ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!