Related
velvet: From Java, is it possible to get the full command line with all the arguments to start the application? System.getEnv()and System.getProperties()doesn't seem to contain these values. Stephen Denne: Some of these are available from RuntimeMXBean by call
velvet: From Java, is it possible to get the full command line with all the arguments to start the application? System.getEnv()and System.getProperties()doesn't seem to contain these values. Stephen Denne: Some of these are available from RuntimeMXBean by call
Hemant: On SunOS, there is pargsa command that prints command line arguments passed to a running process. Are there any similar commands on other Unix environments? markus_b: There are several options: ps -fp <pid>
cat /proc/<pid>/cmdline | sed -e "s/\x00/ /g"
Hemant: On SunOS, there is pargsa command that prints command line arguments passed to a running process. Are there any similar commands on other Unix environments? markus_b: There are several options: ps -fp <pid>
cat /proc/<pid>/cmdline | sed -e "s/\x00/ /g"
Samba I parse the output wmicto get the pid (process identifier) of the running process, command line, etc. Unfortunately, the username (the user who performed the procedure) wmicis missing from the output . Is there a way to get the user account name? Example
Hemant: On SunOS, there is pargsa command that prints command line arguments passed to a running process. Are there any similar commands on other Unix environments? markus_b: There are several options: ps -fp <pid>
cat /proc/<pid>/cmdline | sed -e "s/\x00/ /g"
username I am on Windows 10. I'm trying to load Adobe Dreamweaver extension via command line on Windows. I want to navigate to C:\Program Files\Adobe\Adobe Extension Manager CSx\ I am following the instructions here . If I select command prompt (admin), I getC
username I am on Windows 10. I'm trying to load Adobe Dreamweaver extension via command line on Windows. I want to navigate to C:\Program Files\Adobe\Adobe Extension Manager CSx\ I am following the instructions here . If I select command prompt (admin), I getC
Michael How can I get command arguments or the entire command line using the process name of the running process? For example, this process: # ps
PID USER TIME COMMAND
1452 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
Michael How can I get command arguments or the entire command line using the process name of the running process? For example, this process: # ps
PID USER TIME COMMAND
1452 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
Yoder If I am in CMDI can usewinver I can see my OS version is 20H2now. But this is GUI result and I want to use command line to make it. if i use ver
Microsoft Windows [Version 10.0.19042.868] If I'm in powershell, I can use Get-ComputerInfo WindowsVersion
Sam I'm already a big fan of using C-jinstead of <ENTER>sending newlines. Unfortunately, in the tmux command line ( which is invoked by prefix-:default ) C-j, even set -gw status-keys emacsputting in does nothing ~/.tmux.conf. (Note that it C-jsends newlines f
Sam I'm already a big fan of using C-jinstead of <ENTER>sending newlines. Unfortunately, in the tmux command line ( which is invoked by prefix-:default ) C-j, even set -gw status-keys emacsputting in does nothing ~/.tmux.conf. (Note that it C-jsends newlines f
Badra We run a Java backend application in a zoom application using multiple gears on OpenShift. We use JGroups to create our own communication channel. Therefore, we need to add some extra arguments to the JVM command line to start Wildfly: e.g.-Djgroups.bind
Badra We run a Java backend application in a zoom application using multiple gears on OpenShift. We use JGroups to create our own communication channel. Therefore, we need to add some extra arguments to the JVM command line to start Wildfly: e.g.-Djgroups.bind
Badra We run a Java backend application in a zoom application using multiple gears on OpenShift. We use JGroups to create our own communication channel. Therefore, we need to add some extra arguments to the JVM command line to start Wildfly: e.g.-Djgroups.bind
Tom Johnson I'm trying to write a script that starts Jekyll from the command line, executes another process, then stops it. The logic will be like this: Start Jekyll service. Run a process called Prince to build PDFs from HTML files. Stop the jekyll server. I'
Freddy I would like to know which ports are used by which processes in embedded linux. Since it is simple embedded Linux, there is no network command line like netstat, lsof. (Only basic command lines like cat, cp, echo, etc. exist). Part of the solution seems
Tom Johnson I'm trying to write a script that starts Jekyll from the command line, executes another process, then stops it. The logic will be like this: Start Jekyll service. Run a process called Prince to build PDFs from HTML files. Stop the jekyll server. I'
Freddy I would like to know which ports are used by which processes in embedded linux. Since it is simple embedded Linux, there is no network command line like netstat, lsof. (Only basic command lines like cat, cp, echo, etc. exist). Part of the solution seems
Mark Kadlec I'm running the latest Sierra version and every reboot I need to do mysql.server start
I just want to add this command to the startup script, but I've spent an hour looking into setting up the daemons etc, but I feel like it shouldn't be that diff
Mark Kadlec I'm running the latest Sierra version and every reboot I need to do mysql.server start
I just want to add this command to the startup script, but I've spent an hour looking into setting up the daemons etc, but I feel like it shouldn't be that diff
franksort I'm writing a Ruby command line utility and I'd like it to update one line in the console with new data instead of printing multiple lines of output. The effect I'm going for it similar to a console progress bar you might see when using wget. For ins
must I am learning shell scripting. I want to check the size of directories (and files). I made a sample script #!/bin/bash
for dir in $(du ".")
do
echo "dir = $dir"
read T_SIZE T_PATH <<< $dir
echo "T_SIZE = $T_SIZE"
echo "T_PATH = $T_PATH"
done
The
Mayak Agrowal When I opened Sublime Text from the terminal, I typed $ sublime_text <filename>
Is there any way to change it so I can say this: $ subl <filename>
heme Creating an alias and putting it in ~/.bashrcwill do the following: printf "\nalias subl=$(w
Mayak Agrowal When I opened Sublime Text from the terminal, I typed $ sublime_text <filename>
Is there any way to change it so I can say this: $ subl <filename>
heme Creating an alias and putting it in ~/.bashrcwill do the following: printf "\nalias subl=$(w
sincere I'm trying to build a deployment container for my project that depends on CL.exepart of the MSVC package. So I have to install the compiler via command line. Right now, I'm installing MSBuild 16 like this: RUN ./vs_buildtools.exe --quiet --norestart --
Mawson In bash, I can press Ctrl+ aand go to the first line of the command line. But not in screen Ctrl+ a. How to go to the first line of the command line in the screen? Jordan You can press Ctrl+ aand ago to the beginning of the line. aThe send Ctrl+ to the
sincere I'm trying to build a deployment container for my project that depends on CL.exepart of the MSVC package. So I have to install the compiler via command line. Right now, I'm installing MSBuild 16 like this: RUN ./vs_buildtools.exe --quiet --norestart --