HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: //usr/local/bin/jemalloc-config
#!/bin/sh

usage() {
	cat <<EOF
Usage:
  /usr/local/bin/jemalloc-config <option>
Options:
  --help | -h  : Print usage.
  --version    : Print jemalloc version.
  --revision   : Print shared library revision number.
  --config     : Print configure options used to build jemalloc.
  --prefix     : Print installation directory prefix.
  --bindir     : Print binary installation directory.
  --datadir    : Print data installation directory.
  --includedir : Print include installation directory.
  --libdir     : Print library installation directory.
  --mandir     : Print manual page installation directory.
  --cc         : Print compiler used to build jemalloc.
  --cflags     : Print compiler flags used to build jemalloc.
  --cppflags   : Print preprocessor flags used to build jemalloc.
  --cxxflags   : Print C++ compiler flags used to build jemalloc.
  --ldflags    : Print library flags used to build jemalloc.
  --libs       : Print libraries jemalloc was linked against.
EOF
}

prefix="/usr/local"
exec_prefix="/usr/local"

case "$1" in
--help | -h)
	usage
	exit 0
	;;
--version)
	echo "5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756"
	;;
--revision)
	echo "2"
	;;
--config)
	echo ""
	;;
--prefix)
	echo "/usr/local"
	;;
--bindir)
	echo "/usr/local/bin"
	;;
--datadir)
	echo "/usr/local/share"
	;;
--includedir)
	echo "/usr/local/include"
	;;
--libdir)
	echo "/usr/local/lib"
	;;
--mandir)
	echo "/usr/local/share/man"
	;;
--cc)
	echo "gcc"
	;;
--cflags)
	echo "-std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops"
	;;
--cppflags)
	echo "-D_GNU_SOURCE -D_REENTRANT"
	;;
--cxxflags)
	echo "-Wall -Wextra -g3 -fvisibility=hidden -O3"
	;;
--ldflags)
	echo " "
	;;
--libs)
	echo "-lm -lstdc++ -pthread -ldl"
	;;
*)
	usage
	exit 1
esac