ps


Execlp says No such file or directory


I am trying to do ps -A in code, but typing execlp("/bin/ps", "ps", "-A", NULL); outputs:
/bin/ps: No such file or directory
But I can see ps in the file directory so I have no idea what is wrong.

Related Links

Base64 encoding in Powershell
Local processes of head node of a PBS cluster
Execlp says No such file or directory
PS command column display full detail
Set Title in postscript header, produced by IDL
Android/iOS app product description photos
Check whether process running linux and start with certain description
List pid of process that is under 24 hrs old
how to identify page boundries in a .prn file of multiple page job

Categories

HOME
c#
google-cloud-pubsub
sql-server-2014
display
android-ndk
glsl
dynamic
ms-access-2010
kendo-asp.net-mvc
zabbix
qt4
pip
restheart
webpack-dev-server
subprocess
google-app-maker
oms
angular-universal
aspectj
captcha
mbed
appsettings
openscad
web-parts
vivado-hls
django-rest-auth
bug-reporting
vala
javaagents
handle
struts
waterfall
core-animation
pixels
sasl
ballerinalang
dynamic-memory-allocation
delphi-2010
concrete5
language-detection
postgresql-9.6
availability
offset
android-geofence
repeat
const
word-wrap
server-side-swift
aspnetboilerplate
bzip2
spring-webflow-2
jsfl
import.io
gige-sdk
sp
webmatrix
cc
reloaddata
grib
overhead
tsc
apache-commons-cli
therubyracer
gevent
mongodb-3.3
jira-agile
magick.net
normalisation
bytearray
laterjs
cexception
clear
encode
android-contentresolver
kramdown
magnet-uri
first-order-logic
uinavigationitem
bootstrap-tabs
autoscaling
azure-mobile-app
data-representation
teamwork
copy-on-write
maven-archetype
aiff
novell
disparity-mapping
triplestore
power-management
dayofweek
html5-filesystem
infor-eam
nativequery
codio
logo-lang
complete
ardor3d
grunt-contrib-imagemin
infomaker
angularjs-select2
wpa
source-depot
mandelbrot
antixsslibrary
derived-class
eeprom
joomla1.7
scriptmanager
jqzoom
sessiontracking
marathontesting
miniport
xslt-grouping
pkcs#7
high-load

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile