Common Commands
rhc-tail-files 查看指定app的log信息
help
Displays a list of common commands to use
ctl_app
control your application
ctl_app start
ctl_app stop
ctl_app restart
ctl_app status
ctl_all
Similar to ctl_app but controlls application and deps like mysql in one command
ctl_all start
ctl_all stop
ctl_all restart
ctl_all status
export
Prints out all available environment variables and their current values which you may use in your application
rm
Removes a file or directory
Use this with care
Remove a file:
rm file
Remove a directory and all files and directories under it
rm -rf <dir>
tail_all
Displays the last entries in your log files as they are written to
You can hit <ctrl>-c to exit this command
ls
List files and directories
ps
List running applications
kill
Kill running applications using the process id found by calling ps
Be careful when using this command as it should only be used to kill runaway processes, otherwise it is preferable to stop them using the appropriate command such as ctl_app stop
mysql
Opens an interactive MySQL shell
mongo
Opens an interactive MongoDB shell
quota
Lists your application's current disk usage
分享到:
相关推荐
NULL 博文链接:https://modun.iteye.com/blog/1595857
这个 git 存储库将帮助您在 OpenShift Express 上利用自己动手做的墨盒快速启动和运行 Play Framework 2(在 2.0.x、2.1.x、2.2.x、2.3.x 上测试)应用程序。 注意:自 2.3.x 起play命令行实用程序已替换为...
创建 Play 应用程序,将其添加到 Git (git init) 下载现有的存储库(由 OpenShift 预先配置)。 必要之恶。 您的终端回滚中的 Your_uuid(和所有其他员工),只需复制粘贴即可。 git remote add origin ssh://...
java snmp 源码 record 一些记录,记录正在读和将要读的书,一些网络的文章等等 最近关注的一些技术 1.Tex 高德纳(Donald E. Knuth)开发的精美排版系统。...4.snmp,简单网络管理协议(Simple ...3.playframework cl
5. **Sphere.io SDK for Play Framework**:这个SDK使得开发人员能够在Play2.2框架下轻松地与Sphere.io API交互,构建基于Sphere的电子商务应用。它通常包括客户端库、示例代码、文档以及帮助类,帮助开发者理解和...
6. **Play Framework**:现代、快速的Web框架,使用Scala和Java语言,采用异步处理模型,适合构建高性能Web应用。 7. **Quarkus**:由Red Hat开发的Kubernetes原生的Java框架,适用于微服务和云环境,强调快速启动...
1. Web框架:Spring Boot、Struts、Play Framework,用于构建Web应用程序。 2. 微服务框架:Spring Cloud、Dropwizard,支持微服务架构的开发。 3. 数据访问框架:Hibernate 和 MyBatis,简化数据库操作。 4. 并发...